Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
authorIan Lynagh <igloo@earth.li>
Sat, 4 Sep 2010 22:37:03 +0000 (22:37 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 4 Sep 2010 22:37:03 +0000 (22:37 +0000)
System/Event/KQueue.hsc

index 9c7c36c..832a3a8 100644 (file)
@@ -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>