aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Signals.hsc
diff options
context:
space:
mode:
authorGravatar Simon Marlow <marlowsd@gmail.com>2009-06-11 14:18:33 +0000
committerGravatar Simon Marlow <marlowsd@gmail.com>2009-06-11 14:18:33 +0000
commit8438f515983eea9e3b48194baf056a6d0c50f2d7 (patch)
treef914128a06690b33a3e264031ff5c030b7f39281 /System/Posix/Signals.hsc
parentdafb7b1cbd37403e1dcf02b6b47fff392aa2dc72 (diff)
Update to work with the new GHC IO library internals
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r--System/Posix/Signals.hsc6
1 files changed, 6 insertions, 0 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index 9045b29..29b95d9 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -110,7 +110,13 @@ import Data.Dynamic
#ifdef __GLASGOW_HASKELL__
##include "Signals.h"
+
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO (IO(..))
+#else
import GHC.IOBase
+#endif
+
import GHC.Conc hiding (Signal)
#endif