fix vsftpd compile error (#1409)
[openwrt/svn-archive/archive.git] / net / vsftpd / patches / 04-compile_fix.patch
1 diff -ur vsftpd.old/sysdeputil.c vsftpd.dev/sysdeputil.c
2 --- vsftpd.old/sysdeputil.c 2005-05-24 00:34:23.000000000 +0200
3 +++ vsftpd.dev/sysdeputil.c 2007-03-02 17:50:30.969786936 +0100
4 @@ -159,7 +159,6 @@
5 #include <linux/capability.h>
6 #include <errno.h>
7 #include <syscall.h>
8 -_syscall2(int, capset, cap_user_header_t, header, const cap_user_data_t, data)
9 /* Gross HACK to avoid warnings - linux headers overlap glibc headers */
10 #undef __NFDBITS
11 #undef __FDMASK
12 Only in vsftpd.old: vsftpd-2.0.4