set HAS_NO_THREADS properly
[buildroot.git] / package / vsftpd / vsftpd-2.0.5-uclibc_lfs.patch
blobebd25ca78fe67f191bb858e3f62aa523971fb64e
1 diff -rdup vsftpd-2.0.5.orig/sysutil.c vsftpd-2.0.5/sysutil.c
2 --- vsftpd-2.0.5.orig/sysutil.c 2006-07-03 18:26:40.000000000 +0200
3 +++ vsftpd-2.0.5/sysutil.c 2006-12-14 15:13:15.000000000 +0100
4 @@ -16,11 +16,15 @@
5 #include "utility.h"
6 #include "tunables.h"
8 +#include "builddefs.h"
10 +#if !defined __UCLIBC__ || (defined __UCLIBC__ && defined __UCLIBC_HAS_LFS__)
11 /* Activate 64-bit file support on Linux/32bit plus others */
12 #define _FILE_OFFSET_BITS 64
13 #define _LARGEFILE_SOURCE 1
14 #define _LARGEFILE64_SOURCE 1
15 #define _LARGE_FILES 1
16 +#endif
18 /* For Linux, this adds nothing :-) */
19 #include "port/porting_junk.h"