aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-glib-io.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/w32-glib-io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/w32-glib-io.c b/src/w32-glib-io.c
index 6b7cd150..5c72f036 100644
--- a/src/w32-glib-io.c
+++ b/src/w32-glib-io.c
@@ -34,7 +34,9 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <glib.h>
#include <windows.h>
#include <io.h>