[project @ 2002-05-14 08:23:11 by matthewc]
authormatthewc <unknown>
Tue, 14 May 2002 08:23:11 +0000 (08:23 +0000)
committermatthewc <unknown>
Tue, 14 May 2002 08:23:11 +0000 (08:23 +0000)
Need #include <stdlib.h> for malloc (otherwise the C compiler will
assume the return value is an int, with bad results)

ghc/utils/unlit/unlit.c

index a9645fb..ab3186a 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <ctype.h>
 
 #define NULLSTR        ((char *)0)