summaryrefslogtreecommitdiff
path: root/Utility/ThreadScheduler.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-02 17:21:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-02 17:21:36 -0400
commit5e3c575356ba4c72e52b1f3dadcc901ff9c33416 (patch)
tree2aba0e74e6a07d8397b236d0bb603212137d05aa /Utility/ThreadScheduler.hs
parent3ee5938553e82f448dcbd1962abd4120e38636b8 (diff)
fix windows build
Diffstat (limited to 'Utility/ThreadScheduler.hs')
-rw-r--r--Utility/ThreadScheduler.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utility/ThreadScheduler.hs b/Utility/ThreadScheduler.hs
index 9d4cfd0a7..be0d10109 100644
--- a/Utility/ThreadScheduler.hs
+++ b/Utility/ThreadScheduler.hs
@@ -12,9 +12,11 @@ module Utility.ThreadScheduler where
import Control.Monad
import Control.Monad.IfElse
-import System.Posix.IO
import Control.Concurrent
#ifndef mingw32_HOST_OS
+import System.Posix.IO
+#endif
+#ifndef mingw32_HOST_OS
import System.Posix.Signals
#ifndef __ANDROID__
import System.Posix.Terminal