summaryrefslogtreecommitdiffstats
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
parentc0f7ba8d23f603380aaf9297b45211d3c6424635 (diff)
define _AI_ADDRCONFIG if not defined so that we can compile with an older glibc
-rw-r--r--ChangeLog5
-rw-r--r--dbus/dbus-sysdeps-unix.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 901e0b0c..1fcc5957 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-28 John (J5) Palmieri <johnp@redhat.com>
+
+ * dbus/dbus-sysdeps-unix.c: define _AI_ADDRCONFIG as 0 if not
+ defined so that we can compile with an older glibc
+
2008-02-26 John (J5) Palmieri <johnp@redhat.com>
* Released 1.1.20
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