From: John (J5) Palmieri Date: Thu, 21 Feb 2008 18:42:06 +0000 (-0500) Subject: fix build against the latest gcc/glibc X-Git-Tag: dbus-1.1.20~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8750940bac3e2c876ea45988c916c3ac182de7;p=thirdparty%2Fdbus.git fix build against the latest gcc/glibc * dbus/dbus-sysdeps-unix.c: define _GNU_SOURCE * bus/selinux.c: include limits.h * Patch by Matthias Clasen --- diff --git a/ChangeLog b/ChangeLog index ad81838de..d60b27d8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-02-21 John (J5) Palmieri + + * fix build against the latest gcc/glibc + * dbus/dbus-sysdeps-unix.c: define _GNU_SOURCE + * bus/selinux.c: include limits.h + * Patch by Matthias Clasen + 2008-02-21 John (J5) Palmieri * fixes dbus-launch so the bus goes away when X does diff --git a/bus/selinux.c b/bus/selinux.c index d31f9386e..c0f6f4db7 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -34,6 +34,7 @@ #ifdef HAVE_ERRNO_H #include #endif +#include #include #include #include diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index dfa71e7d0..7db70fee4 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -22,6 +22,8 @@ * */ +#define _GNU_SOURCE + #include "dbus-internals.h" #include "dbus-sysdeps.h" #include "dbus-sysdeps-unix.h"