mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
vsftpd: fix build without largefile support
Fix lfs patch to include <features.h> before checking any of the uClibc defines. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0346e90a8b
commit
9d07fcd08e
3
CHANGES
3
CHANGES
@ -11,7 +11,8 @@
|
|||||||
nbd, netsnmp, ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm,
|
nbd, netsnmp, ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm,
|
||||||
php, pkg-config, psmisc, qt, samba, shared-mime-info,
|
php, pkg-config, psmisc, qt, samba, shared-mime-info,
|
||||||
squashfs, squashfs3, sshfs, startup-notification, swfdec,
|
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):
|
Issues resolved (http://bugs.uclibc.org):
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ diff -rdup vsftpd-2.0.5.orig/sysutil.c vsftpd-2.0.5/sysutil.c
|
|||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
#include "tunables.h"
|
#include "tunables.h"
|
||||||
|
|
||||||
+#include "builddefs.h"
|
+#include <features.h>
|
||||||
+
|
+
|
||||||
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
|
+#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
|
||||||
/* Activate 64-bit file support on Linux/32bit plus others */
|
/* Activate 64-bit file support on Linux/32bit plus others */
|
Loading…
x
Reference in New Issue
Block a user