summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.c
diff options
context:
space:
mode:
authorJoe Shaw <joeshaw@novell.com>2003-06-15 10:45:07 +0000
committerJoe Shaw <joeshaw@novell.com>2003-06-15 10:45:07 +0000
commit496f1e18a95604ee9008d4a01d50248d0c5532fb (patch)
tree8140a675d75b2185a080804936a7edeb8e1a6dfc /dbus/dbus-sysdeps.c
parent6a109938f7a4fc726997985b6de66cf573961986 (diff)
2003-06-15 Joe Shaw <joe@assbarn.com>
* configure.in: Check for socklen_t. * dbus/dbus-sysdeps.c: Define socklen_t if it's not defined. * test/test-segfault.c: Add #include <sys/time.h> * tools/Makefile.am: Add DBUS_X_CFLAGS to the INCLUDES since dbus-launch needs it.
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r--dbus/dbus-sysdeps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c
index be867a9d..5311b202 100644
--- a/dbus/dbus-sysdeps.c
+++ b/dbus/dbus-sysdeps.c
@@ -62,6 +62,10 @@
#define O_BINARY 0
#endif
+#ifndef HAVE_SOCKLEN_T
+#define socklen_t int
+#endif
+
/**
* @addtogroup DBusInternalsUtils
* @{