2014-01-04 17:03:21 +00:00
|
|
|
--- a/libtransmission/fdlimit.c
|
|
|
|
+++ b/libtransmission/fdlimit.c
|
2012-08-06 11:08:44 +00:00
|
|
|
@@ -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.. */
|
2014-01-04 17:03:21 +00:00
|
|
|
extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len);
|
2012-08-06 11:08:44 +00:00
|
|
|
#endif
|