![obsy](/assets/img/avatar_default.png)
while at it remove patch fuzz by refreshing patches fixes build warning: configure: WARNING: unrecognized options: --disable-gtk Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39199 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
409 B
Diff
13 lines
409 B
Diff
--- a/libtransmission/fdlimit.c
|
|
+++ b/libtransmission/fdlimit.c
|
|
@@ -25,7 +25,8 @@
|
|
#include <fcntl.h>
|
|
#endif
|
|
|
|
-#ifdef HAVE_FALLOCATE64
|
|
+/* no need to define fallocate64 in glibc/eglibc case */
|
|
+#if defined(__UCLIBC__) && (HAVE_FALLOCATE64)
|
|
/* FIXME can't find the right #include voodoo to pick up the declaration.. */
|
|
extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len);
|
|
#endif
|