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>
This commit is contained in:
John (J5) Palmieri 2008-02-21 13:42:06 -05:00
parent 7d409700c3
commit be8750940b
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
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

View file

@ -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>

View file

@ -22,6 +22,8 @@
*
*/
#define _GNU_SOURCE
#include "dbus-internals.h"
#include "dbus-sysdeps.h"
#include "dbus-sysdeps-unix.h"