diff options
author | Ian Lynagh <igloo@earth.li> | 2012-07-15 12:58:10 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-07-15 12:58:10 +0100 |
commit | 28d13243252f8e8490fe0f3b92fa4a7a4ab917fe (patch) | |
tree | 03ee42500a46dfbd1300e35dd580946f3bc848de /rts/posix/OSThreads.c | |
parent | b15919dc365cb1f789f19d0198bb7c5ae5fb670c (diff) | |
download | haskell-28d13243252f8e8490fe0f3b92fa4a7a4ab917fe.tar.gz |
Fix build on OS X
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r-- | rts/posix/OSThreads.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index bacae492bf..7fa2f4d75d 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -29,6 +29,10 @@ #include <sys/syscall.h> #endif +#if defined(HAVE_PTHREAD_H) +#include <pthread.h> +#endif + #if defined(THREADED_RTS) #include "RtsUtils.h" #include "Task.h" |