Include sys/types.h in HsDirectory.h; fixes trac #3653
authorIan Lynagh <igloo@earth.li>
Thu, 19 Nov 2009 12:29:51 +0000 (12:29 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 19 Nov 2009 12:29:51 +0000 (12:29 +0000)
include/HsDirectory.h

index 23f23d4..b58cfb2 100644 (file)
 #include <sys/stat.h>
 #endif
 
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
 #include "HsFFI.h"
 
 /* -----------------------------------------------------------------------------