add #include <sys/types.h> (hopefully fixes OS X build)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 6 Aug 2009 08:17:47 +0000 (08:17 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 6 Aug 2009 08:17:47 +0000 (08:17 +0000)
rts/posix/FileLock.c

index a6052c7..7023b9e 100644 (file)
@@ -13,8 +13,9 @@
 #include "Hash.h"
 #include "RtsUtils.h"
 
-#include <unistd.h>
+#include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <errno.h>
 
 typedef struct {