Fix -Werror failure in Fingerprint.hsc
authorAustin Seipp <aseipp@pobox.com>
Thu, 22 Aug 2013 21:21:38 +0000 (16:21 -0500)
committerAustin Seipp <aseipp@pobox.com>
Thu, 22 Aug 2013 21:25:02 +0000 (16:25 -0500)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
compiler/utils/Fingerprint.hsc

index 895906a..81cdbae 100644 (file)
@@ -21,9 +21,12 @@ module Fingerprint (
 ##include "HsVersions.h"
 
 import Numeric          ( readHex )
+#if __GLASGOW_HASKELL__ < 707
+-- Only needed for getFileHash below.
 import Foreign
 import Panic
 import System.IO
+#endif
 
 import GHC.Fingerprint