aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@pip.(none)>2009-08-26 17:57:21 -0700
committerAndrew G. Morgan <morgan@pip.(none)>2009-08-26 17:57:21 -0700
commit88ee4586bce0edb01086b207939b7512fb1fe85f (patch)
tree6bea87461df0a2b5a2b2e6ba2155d869efcd9a5b
parentb984fb79afe45f16b924108dfcf757e1284d2545 (diff)
downloadlibcap-88ee4586bce0edb01086b207939b7512fb1fe85f.tar.gz
Fix recent compilation issue - by reordering #includes.
Signed-off-by: Andrew G. Morgan <morgan@pip.(none)>
-rw-r--r--progs/capsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/capsh.c b/progs/capsh.c
index 21f8e07..40d632c 100644
--- a/progs/capsh.c
+++ b/progs/capsh.c
@@ -13,10 +13,10 @@
#include <string.h>
#include <stdlib.h>
#include <sys/prctl.h>
-#include <sys/capability.h>
#include <unistd.h>
#include <errno.h>
#include <sys/wait.h>
+#include <sys/capability.h>
/* prctl based API for altering character of current process */
#define PR_GET_KEEPCAPS 7