wibble for getNumberOfProcessors
[ghc-hetmet.git] / rts / posix / OSThreads.c
index f15fc95..1b85fd4 100644 (file)
 #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