SharedMem.hsc wasn't including HsUnixConfig.h, so no #defines were propagating
authorDon Stewart <dons@galois.com>
Fri, 30 Jan 2009 11:34:51 +0000 (11:34 +0000)
committerDon Stewart <dons@galois.com>
Fri, 30 Jan 2009 11:34:51 +0000 (11:34 +0000)
System/Posix/SharedMem.hsc

index b77705d..4000acd 100644 (file)
@@ -23,6 +23,8 @@ module System.Posix.SharedMem
 #include <sys/mman.h>
 #include <sys/fcntl.h>
 
+#include "HsUnix.h"
+
 import System.Posix.Types
 import System.Posix.Error
 import Foreign.C