diff options
Diffstat (limited to 'rts/posix')
-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 f15fc95c3a..1b85fd41f8 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -31,6 +31,10 @@ #include <sched.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* * This (allegedly) OS threads independent layer was initially * abstracted away from code that used Pthreads, so the functions |