diff --git a/poll.cabal b/poll.cabal
--- a/poll.cabal
+++ b/poll.cabal
@@ -1,6 +1,7 @@
+Cabal-Version:    2.2
 Name:             poll
-Version:          0.0.0.1
-License:          BSD3
+Version:          0.0.0.2
+License:          BSD-3-Clause
 License-File:     LICENSE
 Author:           Henning Thielemann <haskell@henning-thielemann.de>, Dylan Simon <dylan@dylex.net>
 Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
@@ -8,8 +9,7 @@
 Synopsis:         Bindings to poll.h
 Description:
   Poll functionality allows to wait on different FileDescriptors simultaneously.
-Tested-With:      GHC==6.12.3
-Cabal-Version:    >=1.6
+Tested-With:      GHC==7.4.2, GHC==8.6.5
 Build-Type:       Simple
 Source-Repository head
   type:     darcs
@@ -18,14 +18,15 @@
 Source-Repository this
   type:     darcs
   location: http://code.haskell.org/~thielema/poll/
-  tag:      0.0.0.1
+  tag:      0.0.0.2
 
 Library
   Build-Depends:
-    enumset >=0.0.2 && <0.1,
+    enumset >=0.0.5 && <0.1,
     utility-ht >=0.0.7 && <0.1,
     base >=3 && <5
 
+  Default-Language: Haskell98
   GHC-Options:      -Wall
   Hs-Source-Dirs:   src
   Exposed-Modules:
diff --git a/src/System/Posix/Poll.hsc b/src/System/Posix/Poll.hsc
--- a/src/System/Posix/Poll.hsc
+++ b/src/System/Posix/Poll.hsc
@@ -15,7 +15,7 @@
 import Data.Ix (Ix, range, index, inRange, rangeSize, )
 import Data.Maybe (fromMaybe, )
 import qualified Data.Ix.Enum as IxEnum
-import qualified Data.EnumSet as EnumSet
+import qualified Data.EnumBitSet as EnumSet
 
 data Event 
   = Other Int
