Fix G_OS #ifdefs in gbusserver.c

G_OS #ifdefs are only available once glibconfig.h has been
evaluated ; that is, after including glib headers.
Move this block down so it gets correctly evaluated.
This commit is contained in:
Manuel Bachmann 2013-11-24 04:51:21 +01:00
parent 5efc038e0d
commit 1fb4b3b2bf

View File

@ -25,12 +25,6 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef G_OS_UNIX
#include <unistd.h>
#endif
#ifdef G_OS_WIN32
#include <io.h>
#endif
#include "giotypes.h"
#include "gioerror.h"
@ -51,6 +45,13 @@
#include "ginputstream.h"
#include "giostream.h"
#ifdef G_OS_UNIX
#include <unistd.h>
#endif
#ifdef G_OS_WIN32
#include <io.h>
#endif
#ifdef G_OS_UNIX
#include "gunixsocketaddress.h"
#endif