Here is the diff I applied to my copy of the sources which allowed me to pass the compilation without any problems.<br><br>Just for the record I'm testing this on Slackware GNU/Linux:<br><br>mulander@bunkier_mysli:~/code/blog/lac/rsync$ uname -a<br>
Linux bunkier_mysli 2.6.32.7-grsec #2 SMP Sat Feb 6 11:22:33 CET 2010 i686 AMD Duron(tm) Processor AuthenticAMD GNU/Linux<br><br>rsync --version output after applying my patch:<br><br>mulander@bunkier_mysli:~/code/blog/lac/rsync$ ./rsync --version<br>
rsync  version 3.1.0dev  protocol version 31.PR13<br>Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.<br>Web site: <a href="http://rsync.samba.org/">http://rsync.samba.org/</a><br>Capabilities:<br>    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,<br>
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,<br>    append, ACLs, xattrs, iconv, symtimes, prealloc<br><br>rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you<br>are welcome to redistribute it under certain conditions.  See the GNU<br>
General Public Licence for details.<br><br><br>Regards,<br>Adam Wolk<br><br>diff --git a/rsync.h b/rsync.h<br>index 99c7d6c..a80d11f 100644<br>--- a/rsync.h<br>+++ b/rsync.h<br>@@ -666,7 +666,7 @@ struct ht_int64_node {<br>
 #endif<br><br> #if defined HAVE_FALLOCATE || HAVE_SYS_FALLOCATE<br>-#include <linux/falloc.h><br>+#include <fcntl.h><br> #ifdef FALLOC_FL_KEEP_SIZE<br> #define SUPPORT_PREALLOCATION 1<br> #elif defined HAVE_FTRUNCATE<br>