[project @ 1999-01-07 15:42:33 by simonm]
authorsimonm <unknown>
Thu, 7 Jan 1999 15:42:33 +0000 (15:42 +0000)
committersimonm <unknown>
Thu, 7 Jan 1999 15:42:33 +0000 (15:42 +0000)
#include <unistd.h> to get prototype for vfork.

ghc/lib/std/cbits/system.c

index d4670bf..41bafd3 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
  *
- * $Id: system.c,v 1.3 1998/12/02 13:27:59 simonm Exp $
+ * $Id: system.c,v 1.4 1999/01/07 15:42:33 simonm Exp $
  *
  * system Runtime Support
  */
@@ -9,6 +9,10 @@
 #include "Rts.h"
 #include "stgio.h"
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif