From 381ebddd256da768b2525f65a204fe32abf33d3c Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 23 Aug 2002 20:59:29 +0000 Subject: [PATCH] [project @ 2002-08-23 20:59:29 by sof] bring write() proto into scope --- ghc/compiler/parser/hschooks.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc/compiler/parser/hschooks.c b/ghc/compiler/parser/hschooks.c index 6578dbb..b25bfa1 100644 --- a/ghc/compiler/parser/hschooks.c +++ b/ghc/compiler/parser/hschooks.c @@ -15,6 +15,10 @@ in instead of the defaults. #include "HsFFI.h" #endif +#ifdef HAVE_UNISTD_H +#include +#endif + void defaultsHook (void) { -- 1.7.10.4