mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 07:08:54 +02:00
Better fix for the build problem
Use gnetworkingprivate.h instead, patch by Emilio Pozuelo Monfort, bug 627407.
This commit is contained in:
@@ -32,19 +32,10 @@
|
|||||||
/* for g_unlink() */
|
/* for g_unlink() */
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
|
|
||||||
|
#include <gio/gnetworkingprivate.h>
|
||||||
#include <gio/gunixsocketaddress.h>
|
#include <gio/gunixsocketaddress.h>
|
||||||
#include <gio/gunixfdlist.h>
|
#include <gio/gunixfdlist.h>
|
||||||
|
|
||||||
/* for struct ucred */
|
|
||||||
#ifdef __linux__
|
|
||||||
#define __USE_GNU
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* for SOCK_STREAM and AF_UNIX */
|
|
||||||
#include <sys/socket.h>
|
|
||||||
|
|
||||||
/* used in test_overflow */
|
/* used in test_overflow */
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
#include <gio/gunixconnection.h>
|
#include <gio/gunixconnection.h>
|
||||||
|
Reference in New Issue
Block a user