Fix the build when HAVE_KQUEUE but not HAVE_KEVENT64
[ghc-base.git] / 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>