Commit 9d07fcd0 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

vsftpd: fix build without largefile support



Fix lfs patch to include <features.h> before checking any of the
uClibc defines.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 0346e90a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -11,7 +11,8 @@
	nbd, netsnmp, ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm,
	php, pkg-config, psmisc, qt, samba, shared-mime-info,
	squashfs, squashfs3, sshfs, startup-notification, swfdec,
	sylpheed, uemacs, util-linux, valgrind, vpnc, webkit, xstroke
	sylpheed, uemacs, util-linux, valgrind, vpnc, vsftpd, webkit,
	xstroke

	Issues resolved (http://bugs.uclibc.org):

+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ diff -rdup vsftpd-2.0.5.orig/sysutil.c vsftpd-2.0.5/sysutil.c
 #include "utility.h"
 #include "tunables.h"
 
+#include "builddefs.h"
+#include <features.h>
+
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
 /* Activate 64-bit file support on Linux/32bit plus others */