[project @ 2003-06-19 10:38:15 by simonmar]
authorsimonmar <unknown>
Thu, 19 Jun 2003 10:38:15 +0000 (10:38 +0000)
committersimonmar <unknown>
Thu, 19 Jun 2003 10:38:15 +0000 (10:38 +0000)
Fix Windows build

System/Cmd.hs

index 4e7d284..0b093da 100644 (file)
@@ -15,7 +15,7 @@
 module System.Cmd
     ( system,        -- :: String -> IO ExitCode
 #ifdef __GLASGOW_HASKELL__
-      rawSystem,     -- :: String -> IO ExitCode
+      rawSystem,     -- :: FilePath -> [String] -> IO ExitCode
 #endif
     ) where
 
@@ -26,6 +26,7 @@ import Foreign
 import Foreign.C
 import System.Exit
 import GHC.IOBase
+#include "config.h"
 #endif
 
 #ifdef __HUGS__