diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-08-06 08:17:47 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-08-06 08:17:47 +0000 |
commit | b2b2744e0a095b9a86952adabfe0a7410dcf5489 (patch) | |
tree | a3dc92491d61565fb3533a1cb934dd3de23e00bc /rts/posix | |
parent | 45da48d70d589548c8f7c6c49eafb1ef463ebfb5 (diff) | |
download | haskell-b2b2744e0a095b9a86952adabfe0a7410dcf5489.tar.gz |
add #include <sys/types.h> (hopefully fixes OS X build)
Diffstat (limited to 'rts/posix')
-rw-r--r-- | rts/posix/FileLock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/posix/FileLock.c b/rts/posix/FileLock.c index a6052c7381..7023b9ef67 100644 --- a/rts/posix/FileLock.c +++ b/rts/posix/FileLock.c @@ -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 { |