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:
Peter Korsgaard
2010-05-26 23:00:18 +02:00
parent 0346e90a8b
commit 9d07fcd08e
2 changed files with 3 additions and 2 deletions

View File

@@ -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 */