From: Simon Marlow Date: Wed, 18 Mar 2009 16:59:36 +0000 (+0000) Subject: wibble for getNumberOfProcessors X-Git-Tag: 2009-06-25~457 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ebb1d38825c6eafeb1e1ff9885b1557e7d065e49 wibble for getNumberOfProcessors --- diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 6a8c692..b15a789 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -17,14 +17,6 @@ #include #endif -#ifdef HAVE_UNISTD_H -#include -#endif - -#ifdef HAVE_WINDOWS_H -#include -#endif - #include #include diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index f15fc95..1b85fd4 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -31,6 +31,10 @@ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + /* * This (allegedly) OS threads independent layer was initially * abstracted away from code that used Pthreads, so the functions