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:
043c26a
)
Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
author
Ian Lynagh
<igloo@earth.li>
Sat, 4 Sep 2010 22:37:03 +0000
(22:37 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 4 Sep 2010 22:37:03 +0000
(22:37 +0000)
System/Event/KQueue.hsc
patch
|
blob
|
history
diff --git
a/System/Event/KQueue.hsc
b/System/Event/KQueue.hsc
index
9c7c36c
..
832a3a8
100644
(file)
--- a/
System/Event/KQueue.hsc
+++ b/
System/Event/KQueue.hsc
@@
-45,6
+45,8
@@
import qualified System.Event.Array as A
import Data.Int (Int64)
import Data.Word (Word64)
import Foreign.C.Types (CUInt)
+#else
+import Foreign.C.Types (CIntPtr, CUIntPtr)
#endif
#include <sys/types.h>