From a8c82f239a7fa8940abb35c32b82b4ebec9f6761 Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 28 Jan 2005 23:19:39 +0000 Subject: [haddock @ 2005-01-28 23:19:39 by krasimir] import Foreign/Foreign.C are required for Windows --- src/Main.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3