diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | bus/selinux.c | 1 | ||||
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -1,4 +1,11 @@ 2008-02-21 John (J5) Palmieri <johnp@redhat.com> + + * 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 <mclasen at redhat.com> + +2008-02-21 John (J5) Palmieri <johnp@redhat.com> * fixes dbus-launch so the bus goes away when X does (Red Hat Bug #430412) diff --git a/bus/selinux.c b/bus/selinux.c index d31f9386..c0f6f4db 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -34,6 +34,7 @@ #ifdef HAVE_ERRNO_H #include <errno.h> #endif +#include <limits.h> #include <pthread.h> #include <syslog.h> #include <selinux/selinux.h> diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index dfa71e7d..7db70fee 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" |