diff --git a/AES.cabal b/AES.cabal
--- a/AES.cabal
+++ b/AES.cabal
@@ -1,7 +1,7 @@
 Name: AES
 Synopsis: Fast AES encryption/decryption for bytestrings
 Description: A zero-copy binding to Brian Gladman's AES implementation, including a copy of that implementation
-Version: 0.2.5
+Version: 0.2.6
 License: BSD3
 License-file: COPYING
 Copyright: Copyright (c) 2009 University of Tromsø
diff --git a/Codec/Crypto/AES/IO.hsc b/Codec/Crypto/AES/IO.hsc
--- a/Codec/Crypto/AES/IO.hsc
+++ b/Codec/Crypto/AES/IO.hsc
@@ -10,7 +10,6 @@
 import Foreign
 import Control.Applicative
 import Control.Monad
-import Numeric
 
 #include "aesopt.h"
 #include "aes.h"
diff --git a/Codec/Crypto/AES/Random.hs b/Codec/Crypto/AES/Random.hs
--- a/Codec/Crypto/AES/Random.hs
+++ b/Codec/Crypto/AES/Random.hs
@@ -11,7 +11,6 @@
 import Codec.Crypto.AES.IO
 import Control.Concurrent.MVar
 import qualified Data.ByteString as B
-import qualified Data.ByteString.Lazy as BL
 import Data.List
 
 -- | Randomness from a system source of nonsense such as /dev/random
diff --git a/cbits/ctr_inc.c b/cbits/ctr_inc.c
--- a/cbits/ctr_inc.c
+++ b/cbits/ctr_inc.c
@@ -1,3 +1,4 @@
+#include "brg_types.h"
 #include "aesopt.h"
 #include "ctr_inc.h"
 #include <stdio.h>
