mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
5efc038e0d
commit
1fb4b3b2bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user