wibble for getNumberOfProcessors
authorSimon Marlow <marlowsd@gmail.com>
Wed, 18 Mar 2009 16:59:36 +0000 (16:59 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 18 Mar 2009 16:59:36 +0000 (16:59 +0000)
rts/RtsFlags.c
rts/posix/OSThreads.c

index 6a8c692..b15a789 100644 (file)
 #include <ctype.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_WINDOWS_H
-#include <windows.h>
-#endif
-
 #include <stdlib.h>
 #include <string.h>
 
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