[commit: ghc] master: Make the #includes a little more correct in OSThreads.c (e45f5e7)

Ian Lynagh igloo at earth.li
Fri Mar 1 02:34:05 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e45f5e75ef5ac19b5b1207b8c3fe8dd37f3eba2a

>---------------------------------------------------------------

commit e45f5e75ef5ac19b5b1207b8c3fe8dd37f3eba2a
Author: Ian Lynagh <ian at well-typed.com>
Date:   Fri Mar 1 00:52:33 2013 +0000

    Make the #includes a little more correct in OSThreads.c

>---------------------------------------------------------------

 rts/posix/OSThreads.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index ae31966..13a176c 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
 





More information about the ghc-commits mailing list