From d734dfd6a66c5ae1850a74e83a71671eb70a6bfd Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Thu, 7 Jan 1999 15:42:33 +0000
Subject: [PATCH] [project @ 1999-01-07 15:42:33 by simonm] #include <unistd.h>
 to get prototype for vfork.

---
 ghc/lib/std/cbits/system.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ghc/lib/std/cbits/system.c b/ghc/lib/std/cbits/system.c
index d4670bf9455d..41bafd361fa6 100644
--- a/ghc/lib/std/cbits/system.c
+++ b/ghc/lib/std/cbits/system.c
@@ -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
-- 
GitLab