diff options
Diffstat (limited to 'ghc/rts/hooks/ErrorHdr.c')
| -rw-r--r-- | ghc/rts/hooks/ErrorHdr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/rts/hooks/ErrorHdr.c b/ghc/rts/hooks/ErrorHdr.c index 2797ca4f90..0f253d3aa4 100644 --- a/ghc/rts/hooks/ErrorHdr.c +++ b/ghc/rts/hooks/ErrorHdr.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ErrorHdr.c,v 1.2 1998/12/02 13:29:11 simonm Exp $ + * $Id: ErrorHdr.c,v 1.3 2002/07/17 09:21:51 simonmar Exp $ * * User-overridable RTS hooks. * @@ -7,6 +7,10 @@ #include "Rts.h" +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + void ErrorHdrHook (long fd) { |
