diff --git a/SHA2.cabal b/SHA2.cabal
--- a/SHA2.cabal
+++ b/SHA2.cabal
@@ -1,7 +1,7 @@
 Name: SHA2
 Synopsis: Fast, incremental SHA hashing for bytestrings
 Description: A zero-copy binding to Aaron Gifford's SHA implementation, including a copy of that implementation
-Version: 0.2.4
+Version: 0.2.5
 License: BSD3
 License-file: COPYING
 Copyright: Copyright (c) 2009 University of Tromsø
@@ -31,7 +31,7 @@
 
   ghc-options: -Wall
 
-  cpp-options: -DSHA2_USE_INTTYPES_H
+  cpp-options: -DSHA2_USE_INTTYPES_H -DNEED_UINT_64T
   if os(windows)
      cpp-options: -DBYTE_ORDER=LITTLE_ENDIAN
 
