diff options
| author | bringert <bringert@cs.chalmers.se> | 2008-11-19 20:30:57 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2008-11-19 20:30:57 +0000 |
| commit | 9167185d216f04bd70362af6db6405f6573b4224 (patch) | |
| tree | 3863341ec5b7570d53c335a9580a54cf8e23c264 /src/Data | |
| parent | 86878c0cf4b1c6bca76bfdbaa7a8d394b99d13d8 (diff) | |
Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines.
Diffstat (limited to 'src/Data')
| -rw-r--r-- | src/Data/Binary.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Data/Binary.hs b/src/Data/Binary.hs index ac936674a..ec5104a2e 100644 --- a/src/Data/Binary.hs +++ b/src/Data/Binary.hs @@ -56,6 +56,8 @@ module Data.Binary ( ) where +#include "MachDeps.h" + import Data.Word import Data.Binary.Put |
