FIX BUILD (Solaris): include fcntl.h for file operations
[ghc-hetmet.git] / rts / posix / OSMem.c
index 9b71d1c..66f6309 100644 (file)
@@ -25,6 +25,9 @@
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 
 #include <errno.h>