projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
[ghc-base.git]
/
System
/
Event
/
KQueue.hsc
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)
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>
#endif
#include <sys/types.h>