aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar ross <unknown>2003-12-15 16:57:30 +0000
committerGravatar ross <unknown>2003-12-15 16:57:30 +0000
commit5f6ddbccddbc1fff174bcabd29398e9a5d8ec2c0 (patch)
tree1388d3ec3732b517af6557ea06ac4840008116eb /include
parent2c12709f6d7856f9e91205bdd48cc9691e02ff64 (diff)
[project @ 2003-12-15 16:57:30 by ross]
include dirent.h to avoid warnings when compiling System.Posix.Directory
Diffstat (limited to 'include')
-rw-r--r--include/HsUnix.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h
index ad90050..3c6ab6c 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: HsUnix.h,v 1.11 2003/06/06 12:49:00 stolz Exp $
+ * $Id: HsUnix.h,v 1.12 2003/12/15 16:57:30 ross Exp $
*
* (c) The University of Glasgow 2002
*
@@ -60,6 +60,9 @@
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
+#ifdef HAVE_DIRENT_H
+#include <dirent.h>
+#endif
#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
#include <HaskellSupport/dlfcn.h>