[commit: base] master: Fix warning. (a0395aa)

Paolo Capriotti <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a0395aacff4d2e39261d5228be589d30c7f32f59

>---------------------------------------------------------------

commit a0395aacff4d2e39261d5228be589d30c7f32f59
Author: Paolo Capriotti <[email protected]>
Date:   Fri Jun 8 15:19:46 2012 +0100

    Fix warning.

>---------------------------------------------------------------

 System/IO.hs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/System/IO.hs b/System/IO.hs
index 57db1b0..31aa0e8 100644
--- a/System/IO.hs
+++ b/System/IO.hs
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.