summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-unix.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2008-02-28 13:18:03 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2008-02-28 13:18:03 -0500
commit3250072c6e46961e2979c875ce07697ef37206c7 (patch)
tree5f1fae1854dee360b8a1aa9914ea4d804c96753e /dbus/dbus-sysdeps-unix.c
parentc0f7ba8d23f603380aaf9297b45211d3c6424635 (diff)
define _AI_ADDRCONFIG if not defined so that we can compile with an older glibc
Diffstat (limited to 'dbus/dbus-sysdeps-unix.c')
-rw-r--r--dbus/dbus-sysdeps-unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c
index 7db70fee..d9a9030c 100644
--- a/dbus/dbus-sysdeps-unix.c
+++ b/dbus/dbus-sysdeps-unix.c
@@ -75,6 +75,10 @@
#define O_BINARY 0
#endif
+#ifndef _AI_ADDRCONFIG
+#define _AI_ADDRCONFIG 0
+#endif
+
#ifndef HAVE_SOCKLEN_T
#define socklen_t int
#endif