From 5f6ddbccddbc1fff174bcabd29398e9a5d8ec2c0 Mon Sep 17 00:00:00 2001 From: ross Date: Mon, 15 Dec 2003 16:57:30 +0000 Subject: [project @ 2003-12-15 16:57:30 by ross] include dirent.h to avoid warnings when compiling System.Posix.Directory --- include/HsUnix.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/HsUnix.h') 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 #endif +#ifdef HAVE_DIRENT_H +#include +#endif #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT #include -- cgit v1.2.3