summaryrefslogtreecommitdiff
path: root/ghc/rts/win32
diff options
context:
space:
mode:
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)