14 lines
621 B
Diff
14 lines
621 B
Diff
|
diff -Naur transmission-2.61/libtransmission/fdlimit.c transmission-2.61-new/libtransmission/fdlimit.c
|
||
|
--- transmission-2.61/libtransmission/fdlimit.c 2012-07-24 04:59:03.429474697 +0300
|
||
|
+++ transmission-2.61-new/libtransmission/fdlimit.c 2012-07-31 14:40:23.999860054 +0300
|
||
|
@@ -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
|