aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrasimir <unknown>2005-01-28 23:19:39 +0000
committerkrasimir <unknown>2005-01-28 23:19:39 +0000
commita8c82f239a7fa8940abb35c32b82b4ebec9f6761 (patch)
tree7a1314e41d8e947cfe66494284c88461509ac3cf
parent60824c6ef91bc454d449bf29d09ac5badf49b5f8 (diff)
[haddock @ 2005-01-28 23:19:39 by krasimir]
import Foreign/Foreign.C are required for Windows
-rw-r--r--src/Main.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index c2681594..ad316cf2 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -34,6 +34,10 @@ import Data.Maybe ( isJust, maybeToList )
import System.Console.GetOpt ( getOpt, usageInfo, ArgOrder(..), OptDescr(..), ArgDescr(..) )
import System.Environment ( getArgs )
import System.IO ( stderr, IOMode(..), openFile, hClose, hGetContents, hPutStrLn )
+#if defined(mingw32_HOST_OS)
+import Foreign
+import Foreign.C
+#endif
-----------------------------------------------------------------------------
-- Top-level stuff