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
This commit is contained in:
committed by
Christoph Reiter
parent
8ec004cc08
commit
8caa937739
@ -22,6 +22,10 @@
|
||||
#include <glib/gstdio.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
/* There shall be no other styles */
|
||||
#define GTK_STYLE_PROVIDER_PRIORITY_FORCE G_MAXUINT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user