diff options
| author | panne <unknown> | 1999-09-20 08:36:35 +0000 |
|---|---|---|
| committer | panne <unknown> | 1999-09-20 08:36:35 +0000 |
| commit | 6b7c06e0715663168ed35ef00084e07e03cdd28b (patch) | |
| tree | 0f0be09bc1e9a18a759627731a3a49296998a859 /ghc | |
| parent | ef76f766078e7aa248381e18801c7d5ffcfe96ad (diff) | |
| download | haskell-6b7c06e0715663168ed35ef00084e07e03cdd28b.tar.gz | |
[project @ 1999-09-20 08:36:35 by panne]
Need sys/types.h for off_t
Diffstat (limited to 'ghc')
| -rw-r--r-- | ghc/lib/std/cbits/filePosn.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/filePosn.c b/ghc/lib/std/cbits/filePosn.c index c3b130b063..90949ea5c2 100644 --- a/ghc/lib/std/cbits/filePosn.c +++ b/ghc/lib/std/cbits/filePosn.c @@ -1,7 +1,7 @@ /* * (c) The GRASP/AQUA Project, Glasgow University, 1994-1998 * - * $Id: filePosn.c,v 1.4 1999/09/19 19:20:50 sof Exp $ + * $Id: filePosn.c,v 1.5 1999/09/20 08:36:35 panne Exp $ * * hGetPosn and hSetPosn Runtime Support */ @@ -9,6 +9,10 @@ #include "Rts.h" #include "stgio.h" +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + StgInt getFilePosn(ptr) StgForeignPtr ptr; |
