summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:54:44 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-01 20:54:44 +0100
commitc4f158b6ffc7460b036abf233131e22a0daaf8d8 (patch)
treea16c6190273abb887600ce64de6945d090ffdad5 /src/dir.c
parentfe300381a64405ebfa8c9eb5a45cefe24515d20c (diff)
Fix some missing headers for cygwin
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dir.c b/src/dir.c
index 92d40ea..0d398bc 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -40,6 +40,9 @@
#include <utime.h>
#endif
#include <errno.h>
+#ifdef HAVE_IO_H
+#include <io.h>
+#endif
#include "common.h"
#include "fat.h"
#include "lang.h"