summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/markup-parse.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/markup-parse.c b/tests/markup-parse.c
index e82c6db5..633f3e89 100644
--- a/tests/markup-parse.c
+++ b/tests/markup-parse.c
@@ -21,7 +21,13 @@
#include <glib.h>
#include <string.h>
-#include <unistd.h>
+
+#ifdef G_OS_WIN32
+# include <io.h>
+#else
+# include <unistd.h>
+#endif
+
#include <locale.h>
#include <pango/pangocairo.h>