projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1077b
)
Include sys/types.h in HsDirectory.h; fixes trac #3653
author
Ian Lynagh
<igloo@earth.li>
Thu, 19 Nov 2009 12:29:51 +0000
(12:29 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 19 Nov 2009 12:29:51 +0000
(12:29 +0000)
include/HsDirectory.h
patch
|
blob
|
history
diff --git
a/include/HsDirectory.h
b/include/HsDirectory.h
index
23f23d4
..
b58cfb2
100644
(file)
--- a/
include/HsDirectory.h
+++ b/
include/HsDirectory.h
@@
-25,6
+25,10
@@
#include <sys/stat.h>
#endif
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#include "HsFFI.h"
/* -----------------------------------------------------------------------------