[project @ 2002-04-13 05:08:55 by sof]
[ghc-base.git] / cbits / system.c
index 6534ca8..4d9fb10 100644 (file)
@@ -1,7 +1,7 @@
 /* 
- * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
+ * (c) The University of Glasgow 2002
  *
- * $Id: system.c,v 1.4 2001/12/21 15:07:26 simonmar Exp $
+ * $Id: system.c,v 1.6 2002/03/26 21:02:19 sof Exp $
  *
  * system Runtime Support
  */
@@ -9,7 +9,7 @@
 /* The itimer stuff in this module is non-posix */
 // #include "PosixSource.h"
 
-#include "HsCore.h"
+#include "HsBase.h"
 
 #if defined(mingw32_TARGET_OS)
 #include <windows.h>
@@ -20,7 +20,7 @@ HsInt
 systemCmd(HsAddr cmd)
 {
   /* -------------------- WINDOWS VERSION --------------------- */
-#if defined(mingw32_TARGET_OS)
+#if defined(mingw32_TARGET_OS) || defined(cygwin32_TARGET_OS)
     return system(cmd);
 #else
   /* -------------------- UNIX VERSION --------------------- */