summaryrefslogtreecommitdiff
path: root/ghc/lib/std/cbits/openFile.c
diff options
context:
space:
mode:
authorsimonm <unknown>1999-01-07 15:48:40 +0000
committersimonm <unknown>1999-01-07 15:48:40 +0000
commit59bd18a918c1c91c917ced9f8fd11a6db2db64e1 (patch)
tree0f96f64dedfbce265cc025428faba2d8c96d42c5 /ghc/lib/std/cbits/openFile.c
parentd734dfd6a66c5ae1850a74e83a71671eb70a6bfd (diff)
downloadhaskell-59bd18a918c1c91c917ced9f8fd11a6db2db64e1.tar.gz
[project @ 1999-01-07 15:48:40 by simonm]
this file is NON_POSIX_SOURCE, since we use lstat.
Diffstat (limited to 'ghc/lib/std/cbits/openFile.c')
-rw-r--r--ghc/lib/std/cbits/openFile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/openFile.c b/ghc/lib/std/cbits/openFile.c
index ae4d28724a..5c5848b2ea 100644
--- a/ghc/lib/std/cbits/openFile.c
+++ b/ghc/lib/std/cbits/openFile.c
@@ -1,11 +1,14 @@
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
- * $Id: openFile.c,v 1.3 1998/12/02 13:27:44 simonm Exp $
+ * $Id: openFile.c,v 1.4 1999/01/07 15:48:40 simonm Exp $
*
* openFile Runtime Support
*/
+/* We use lstat, which is sadly not POSIX */
+#define NON_POSIX_SOURCE
+
#include "Rts.h"
#include "stgio.h"
#include "fileObject.h"