Files @ 555c325c694c
Branch filter:

Location: ohnobinki_overlay/net-ftp/vsftpd/files/vsftpd-2.1.0-caps.patch - annotation

binki
dev-tcltk/tclxml: Initial import from Gentoo's Portage
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);