summaryrefslogtreecommitdiff
blob: bd29762e9f48e4e778e47adb964ba7e75abadd4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ur vsftpd-2.1.0.orig/sysdeputil.c vsftpd-2.1.0/sysdeputil.c
--- vsftpd-2.1.0.orig/sysdeputil.c	2009-02-23 18:23:26.000000000 +0100
+++ vsftpd-2.1.0/sysdeputil.c	2009-02-23 18:23:51.000000000 +0100
@@ -160,10 +160,8 @@
 #include <sys/capability.h>
 
 #if defined(VSF_SYSDEP_HAVE_CAPABILITIES) && !defined(VSF_SYSDEP_HAVE_LIBCAP)
-#include <linux/unistd.h>
 #include <linux/capability.h>
-#include <errno.h>
-#include <syscall.h>
+#include <sys/syscall.h>
 int capset(cap_user_header_t header, const cap_user_data_t data)
 {
   return syscall(__NR_capset, header, data);