Fix build on Windows and possibly other non-Linux platforms

Include glibconfig.h in files that test G_OS_WIN32. Include headers
for GLib APIs used conditionally where needed.
This commit is contained in:
Tor Lillqvist
2010-09-06 15:56:16 +03:00
parent 2aa135ee3d
commit 548ddd5fe9
10 changed files with 44 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "glibconfig.h"
#define G_STDIO_NO_WRAP_ON_UNIX