diff options
| author | John (J5) Palmieri <johnp@redhat.com> | 2008-02-21 13:42:06 -0500 | 
|---|---|---|
| committer | John (J5) Palmieri <johnp@redhat.com> | 2008-02-21 13:42:06 -0500 | 
| commit | be8750940bac3e2c876ea45988c916c3ac182de7 (patch) | |
| tree | 136ce16998380d50324739fe0355ec6e2fc61f22 | |
| parent | 7d409700c354e7a35989053ba037750d320a308a (diff) | |
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>
| -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" | 
