From: Roman Leshchinskiy Date: Tue, 15 Jan 2008 05:18:44 +0000 (+0000) Subject: FIX BUILD (Solaris): include fcntl.h for file operations X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=84de3b9d45a4da7f1a406223e262c014ab398a1e FIX BUILD (Solaris): include fcntl.h for file operations --- diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index 9b71d1c..66f6309 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -25,6 +25,9 @@ #ifdef HAVE_STRING_H #include #endif +#ifdef HAVE_FCNTL_H +#include +#endif #include