Include sys/types.h in HsDirectory.h; fixes trac #3653
[haskell-directory.git] / 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"
 
 /* -----------------------------------------------------------------------------