summaryrefslogtreecommitdiffstats
path: root/bus/selinux.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2008-02-21 13:42:06 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2008-02-21 13:42:06 -0500
commitbe8750940bac3e2c876ea45988c916c3ac182de7 (patch)
tree136ce16998380d50324739fe0355ec6e2fc61f22 /bus/selinux.c
parent7d409700c354e7a35989053ba037750d320a308a (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>
Diffstat (limited to 'bus/selinux.c')
-rw-r--r--bus/selinux.c1
1 files changed, 1 insertions, 0 deletions
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>