summaryrefslogtreecommitdiff
path: root/ghc/rts/win32
diff options
context:
space:
mode:
authorsof <unknown>2003-04-08 15:54:24 +0000
committersof <unknown>2003-04-08 15:54:24 +0000
commit1897bcd13d6851873340778524f7248a057d3027 (patch)
tree8400c4ec1990adebec8d66f7219a7ab51c70410a /ghc/rts/win32
parentdfbf36a9588da7d50467950603fc3385088b4f72 (diff)
downloadhaskell-1897bcd13d6851873340778524f7248a057d3027.tar.gz
[project @ 2003-04-08 15:54:24 by sof]
if needs be, include Capability.h
Diffstat (limited to 'ghc/rts/win32')
-rw-r--r--ghc/rts/win32/AwaitEvent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc/rts/win32/AwaitEvent.c b/ghc/rts/win32/AwaitEvent.c
index e6a551d7ae..a8f73fff7a 100644
--- a/ghc/rts/win32/AwaitEvent.c
+++ b/ghc/rts/win32/AwaitEvent.c
@@ -16,6 +16,9 @@
#include "Schedule.h"
#include <windows.h>
#include "win32/AsyncIO.h"
+#if defined(RTS_SUPPORTS_THREADS)
+#include "Capability.h"
+#endif
void
awaitEvent(rtsBool wait)