From ebb1d38825c6eafeb1e1ff9885b1557e7d065e49 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 18 Mar 2009 16:59:36 +0000 Subject: [PATCH] wibble for getNumberOfProcessors --- rts/RtsFlags.c | 8 -------- rts/posix/OSThreads.c | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) 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 -- 1.7.10.4