[glib] Make gdbus-peer build on !linux
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Make gdbus-peer build on !linux
- Date: Sun, 22 Aug 2010 02:08:33 +0000 (UTC)
commit 3d01283f6908000e0a989ba22769c869461be398
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 21 22:06:56 2010 -0400
Make gdbus-peer build on !linux
Based on a patch by Koop Mast, bug 627088.
gio/tests/gdbus-peer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index a904c7a..faad98f 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -42,6 +42,9 @@
#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]