From 9167185d216f04bd70362af6db6405f6573b4224 Mon Sep 17 00:00:00 2001 From: bringert Date: Wed, 19 Nov 2008 20:30:57 +0000 Subject: [PATCH] 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. --- src/Data/Binary.hs | 2 ++ 1 file changed, 2 insertions(+) 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