diff --git a/tests/testanimation.c b/tests/testanimation.c index 356b8827d2..8bd43a6c66 100644 --- a/tests/testanimation.c +++ b/tests/testanimation.c @@ -19,11 +19,14 @@ #include "config.h" #include #include -#include #include #include #include +#ifndef G_OS_WIN32 +# include +#endif + typedef struct _LoadContext LoadContext; struct _LoadContext diff --git a/testsuite/a11y/accessibility-dump.c b/testsuite/a11y/accessibility-dump.c index 67747d4c05..2986f297f6 100644 --- a/testsuite/a11y/accessibility-dump.c +++ b/testsuite/a11y/accessibility-dump.c @@ -25,6 +25,10 @@ #include #include +#ifdef G_OS_WIN32 +# include +#endif + #define DEPTH_INCREMENT 2 static char * diff --git a/testsuite/css/nodes/test-css-nodes.c b/testsuite/css/nodes/test-css-nodes.c index bb0b02cc48..334b60a11c 100644 --- a/testsuite/css/nodes/test-css-nodes.c +++ b/testsuite/css/nodes/test-css-nodes.c @@ -22,6 +22,10 @@ #include #include +#ifdef G_OS_WIN32 +# include +#endif + static char * test_get_reference_file (const char *ui_file) diff --git a/testsuite/css/parser/test-css-parser.c b/testsuite/css/parser/test-css-parser.c index a5bb173075..c925d89bfa 100644 --- a/testsuite/css/parser/test-css-parser.c +++ b/testsuite/css/parser/test-css-parser.c @@ -26,6 +26,10 @@ #include #include +#ifdef G_OS_WIN32 +# include +#endif + static char * test_get_reference_file (const char *css_file) { diff --git a/testsuite/css/style/test-css-style.c b/testsuite/css/style/test-css-style.c index 53fac070e5..0992223ac0 100644 --- a/testsuite/css/style/test-css-style.c +++ b/testsuite/css/style/test-css-style.c @@ -22,6 +22,10 @@ #include #include +#ifdef G_OS_WIN32 +# include +#endif + /* There shall be no other styles */ #define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c index 4930af8184..6400b26ecf 100644 --- a/testsuite/reftests/gtk-reftest.c +++ b/testsuite/reftests/gtk-reftest.c @@ -28,6 +28,10 @@ #include #include +#ifdef G_OS_WIN32 +# include +#endif + typedef enum { SNAPSHOT_WINDOW, SNAPSHOT_DRAW