aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/SharedMem.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/SharedMem.hsc')
-rw-r--r--System/Posix/SharedMem.hsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/System/Posix/SharedMem.hsc b/System/Posix/SharedMem.hsc
index 1d7a80a..c85e4b7 100644
--- a/System/Posix/SharedMem.hsc
+++ b/System/Posix/SharedMem.hsc
@@ -19,12 +19,12 @@ module System.Posix.SharedMem
(ShmOpenFlags(..), shmOpen, shmUnlink)
where
+#include "HsUnix.h"
+
#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>
-#include "HsUnix.h"
-
import System.Posix.Types
#if defined(HAVE_SHM_OPEN) || defined(HAVE_SHM_UNLINK)
import Foreign.C