projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3ac6b
)
[project @ 2002-05-14 08:23:11 by matthewc]
author
matthewc
<unknown>
Tue, 14 May 2002 08:23:11 +0000
(08:23 +0000)
committer
matthewc
<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
patch
|
blob
|
history
diff --git
a/ghc/utils/unlit/unlit.c
b/ghc/utils/unlit/unlit.c
index
a9645fb
..
ab3186a
100644
(file)
--- a/
ghc/utils/unlit/unlit.c
+++ b/
ghc/utils/unlit/unlit.c
@@
-41,6
+41,7
@@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#define NULLSTR ((char *)0)