summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog.c b/catalog.c
index 880f9100..bea1418d 100644
--- a/catalog.c
+++ b/catalog.c
@@ -23,6 +23,8 @@
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#elif defined (_WIN32)
+#include <io.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>