From be8750940bac3e2c876ea45988c916c3ac182de7 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Thu, 21 Feb 2008 13:42:06 -0500 Subject: 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 --- ChangeLog | 7 +++++++ bus/selinux.c | 1 + dbus/dbus-sysdeps-unix.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index ad81838d..d60b27d8 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 d31f9386..c0f6f4db 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 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" -- cgit