aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morgan <morgan@kernel.org>2007-07-30 22:59:18 -0700
committerAndrew Morgan <morgan@kernel.org>2007-07-30 22:59:18 -0700
commit864ee3b73406ca56fc882650418265fea7aa7608 (patch)
tree61c9b3f95d892a1d06df8a7dd179b11b952bc1b6
parentdb789eb2edaf80c8077eb9dcdca633068d63039d (diff)
downloadlibcap-864ee3b73406ca56fc882650418265fea7aa7608.tar.gz
Enable compilation against more recent (2.6) kernel header files.
[Thanks to Joey Trungale for the bug report.]
-rw-r--r--libcap/cap_sys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcap/cap_sys.c b/libcap/cap_sys.c
index 27c137d..d20d190 100644
--- a/libcap/cap_sys.c
+++ b/libcap/cap_sys.c
@@ -5,6 +5,8 @@
* capabilities
*/
+#define user /* for more recent 2.6 kernels */
+
#include <linux/unistd.h>
#include <linux/capability.h>