summaryrefslogtreecommitdiff
path: root/testsuite/a11y
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-07-21 16:00:44 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-07-21 23:36:03 +0800
commit171ff43340a9a0a8a896d067fe83b72bc82b887e (patch)
tree667cf93ee79d35edff7e2c3de2515f7855a1caf9 /testsuite/a11y
parent4d3aa827f633669c2e911ed50c8a00c9a37c62f7 (diff)
downloadgtk+-171ff43340a9a0a8a896d067fe83b72bc82b887e.tar.gz
tests: Include system headers appropriately
Don't include unistd.h on Windows, and include the appropriate headers on Windows as necessary. https://bugzilla.gnome.org/show_bug.cgi?id=773299
Diffstat (limited to 'testsuite/a11y')
-rw-r--r--testsuite/a11y/accessibility-dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/a11y/accessibility-dump.c b/testsuite/a11y/accessibility-dump.c
index eb90477ad0..5f848fb96a 100644
--- a/testsuite/a11y/accessibility-dump.c
+++ b/testsuite/a11y/accessibility-dump.c
@@ -25,6 +25,10 @@
#include <glib/gstdio.h>
#include <gtk/gtk.h>
+#ifdef G_OS_WIN32
+# include <io.h>
+#endif
+
#define DEPTH_INCREMENT 2
static char *