summaryrefslogtreecommitdiffstats
path: root/net/transmission/patches/010_libtransmission_fallocate64_eglibc.patch
blob: e46a1ad98fe7bd5412049475edc5a7c6c25bb84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/libtransmission/fdlimit.c
+++ b/libtransmission/fdlimit.c
@@ -22,11 +22,6 @@
  #include <fcntl.h>
 #endif

-#ifdef 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
-
 #ifdef HAVE_XFS_XFS_H
  #include <xfs/xfs.h>
 #endif