diff --git a/kqueue.cabal b/kqueue.cabal
--- a/kqueue.cabal
+++ b/kqueue.cabal
@@ -1,5 +1,5 @@
 Name:                kqueue
-Version:             0.1.2.1
+Version:             0.1.2.2
 Synopsis:            A binding to the kqueue event library.
 Description:         A low-level binding to the kqueue library as
                      found in BSD and Mac OS X. It provides, among
diff --git a/src/System/KQueue.chs b/src/System/KQueue.chs
--- a/src/System/KQueue.chs
+++ b/src/System/KQueue.chs
@@ -40,8 +40,12 @@
                            , with
                            , withArray
                            )
-import Foreign.C           ( CInt
-                           , CLong
+#if __GLASGOW_HASKELL__ >= 704
+import Foreign.C           ( CInt (..) )
+#else
+import Foreign.C           ( CInt )
+#endif
+import Foreign.C           ( CLong
                            , CShort
                            , CTime
                            , CUInt
