summaryrefslogtreecommitdiff
path: root/includes/rts/Threads.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-09 16:45:40 +0100
committerIan Lynagh <igloo@earth.li>2012-05-09 16:45:40 +0100
commitcd9544997c267f0a5cdb053a017396e297cfa1b1 (patch)
tree85a8d70d87e181892d4637d3457af9dd45802e5b /includes/rts/Threads.h
parent203afa1ca506ac2bc58298d55f44bbcba27b7090 (diff)
downloadhaskell-cd9544997c267f0a5cdb053a017396e297cfa1b1.tar.gz
Fix build on Win64
Diffstat (limited to 'includes/rts/Threads.h')
-rw-r--r--includes/rts/Threads.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h
index dd533bedf8..5db5cb7bd8 100644
--- a/includes/rts/Threads.h
+++ b/includes/rts/Threads.h
@@ -15,6 +15,10 @@
#ifndef RTS_THREADS_H
#define RTS_THREADS_H
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
//
// Creating threads
//