diff options
| author | Austin Seipp <aseipp@pobox.com> | 2013-08-22 16:21:38 -0500 |
|---|---|---|
| committer | Austin Seipp <aseipp@pobox.com> | 2013-08-22 16:25:02 -0500 |
| commit | 7aa922b870e8f19c770c05b39fea2727fbd2a7b2 (patch) | |
| tree | bcd6f625426a7e0df6cbd3f0119094e1b41f9234 /compiler | |
| parent | 677820ee3a3aadbf2ed414deb3926381d94b13a8 (diff) | |
| download | haskell-7aa922b870e8f19c770c05b39fea2727fbd2a7b2.tar.gz | |
Fix -Werror failure in Fingerprint.hsc
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/utils/Fingerprint.hsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc index 895906a3c6..81cdbae883 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 |
