[commit: ghc] master: Fix -Werror failure in Fingerprint.hsc (7aa922b)
git at git.haskell.org
git at git.haskell.org
Thu Aug 22 23:25:47 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7aa922b870e8f19c770c05b39fea2727fbd2a7b2/ghc
>---------------------------------------------------------------
commit 7aa922b870e8f19c770c05b39fea2727fbd2a7b2
Author: Austin Seipp <aseipp at pobox.com>
Date: Thu Aug 22 16:21:38 2013 -0500
Fix -Werror failure in Fingerprint.hsc
Signed-off-by: Austin Seipp <aseipp at pobox.com>
>---------------------------------------------------------------
7aa922b870e8f19c770c05b39fea2727fbd2a7b2
compiler/utils/Fingerprint.hsc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc
index 895906a..81cdbae 100644
--- a/compiler/utils/Fingerprint.hsc
+++ b/compiler/utils/Fingerprint.hsc
@@ -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
More information about the ghc-commits
mailing list