[project @ 2002-08-23 20:59:29 by sof]
authorsof <unknown>
Fri, 23 Aug 2002 20:59:29 +0000 (20:59 +0000)
committersof <unknown>
Fri, 23 Aug 2002 20:59:29 +0000 (20:59 +0000)
bring write() proto into scope

ghc/compiler/parser/hschooks.c

index 6578dbb..b25bfa1 100644 (file)
@@ -15,6 +15,10 @@ in instead of the defaults.
 #include "HsFFI.h"
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 void
 defaultsHook (void)
 {