Ticket #8820: 001-no_fallocate64_def.patch

File 001-no_fallocate64_def.patch, 354 bytes (added by cederigo, 5 years ago)
  • libtransmission/fdlimit.c

    a b  
    3131 #include <fcntl.h> 
    3232#endif 
    3333 
    34 #ifdef HAVE_FALLOCATE64 
    35   /* FIXME can't find the right #include voodoo to pick up the declaration.. */ 
    36   extern int fallocate64( int fd, int mode, uint64_t offset, uint64_t len ); 
    37 #endif 
    3834 
    3935#ifdef HAVE_XFS_XFS_H 
    4036 #include <xfs/xfs.h>