[glib] Better fix for the build problem
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Better fix for the build problem
- Date: Sun, 22 Aug 2010 02:11:02 +0000 (UTC)
commit 41ce91d0579aa05b89e357c9fd59d9530ad7bf76
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 21 22:09:32 2010 -0400
Better fix for the build problem
Use gnetworkingprivate.h instead, patch by Emilio Pozuelo Monfort,
bug 627407.
gio/tests/gdbus-peer.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index faad98f..e400d3b 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -32,19 +32,10 @@
/* for g_unlink() */
#include <glib/gstdio.h>
+#include <gio/gnetworkingprivate.h>
#include <gio/gunixsocketaddress.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 */
#ifdef G_OS_UNIX
#include <gio/gunixconnection.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]