summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.c
diff options
context:
space:
mode:
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
* @{