summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-01 00:52:33 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-01 00:52:33 +0000
commite45f5e75ef5ac19b5b1207b8c3fe8dd37f3eba2a (patch)
tree0d51023e4add9dec13eedab8fbce59395dea2427
parent4a8e254cbc16b3a4f264c4dda15d8eeddd13abc7 (diff)
downloadhaskell-e45f5e75ef5ac19b5b1207b8c3fe8dd37f3eba2a.tar.gz
Make the #includes a little more correct in OSThreads.c
-rw-r--r--rts/posix/OSThreads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index ae31966c1c..13a176c9d2 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -57,8 +57,10 @@
#include <sched.h>
#endif
-#if defined(HAVE_SYS_CPUSET_H)
+#if defined(HAVE_SYS_PARAM_H)
#include <sys/param.h>
+#endif
+#if defined(HAVE_SYS_CPUSET_H)
#include <sys/cpuset.h>
#endif