Fix warning.
authorPaolo Capriotti <p.capriotti@gmail.com>
Fri, 8 Jun 2012 14:19:46 +0000 (15:19 +0100)
committerPaolo Capriotti <p.capriotti@gmail.com>
Fri, 8 Jun 2012 14:19:46 +0000 (15:19 +0100)
System/IO.hs

index 57db1b0..31aa0e8 100644 (file)
@@ -241,7 +241,9 @@ import Data.Bits
 import Data.List
 import Data.Maybe
 import Foreign.C.Error
+#ifdef mingw32_HOST_OS
 import Foreign.C.String
+#endif
 import Foreign.C.Types
 import System.Posix.Internals
 import System.Posix.Types