projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5dbe5ff
)
MacOS 10.3 needs #include <libc.h> as well
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Sat, 14 Apr 2007 15:55:07 +0000
(15:55 +0000)
committer
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Sat, 14 Apr 2007 15:55:07 +0000
(15:55 +0000)
NHC/PosixTypes.hsc
patch
|
blob
|
history
diff --git
a/NHC/PosixTypes.hsc
b/NHC/PosixTypes.hsc
index
fabe253
..
b5ad5c6
100644
(file)
--- a/
NHC/PosixTypes.hsc
+++ b/
NHC/PosixTypes.hsc
@@
-51,6
+51,7
@@
import Control.Monad
-- Curious hack to ensure that the CTypes macros are expanded *after* hsc2hs.
##include "CTypes.h"
-- C header files that contain all the types we are looking for here.
-- Curious hack to ensure that the CTypes macros are expanded *after* hsc2hs.
##include "CTypes.h"
-- C header files that contain all the types we are looking for here.
+#include <libc.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/resource.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/resource.h>