On Sun, May 15, 2011 at 9:36 AM, Mulander wrote:
> #if defined HAVE_FALLOCATE || HAVE_SYS_FALLOCATE
> -#include
> +#include
> #ifdef FALLOC_FL_KEEP_SIZE
Rsync already includes fcntl.h higher up in rsync.h. The
problematical include is to try to get FALLOC_FL_KEEP_SIZE defined. I
have added
Here is the diff I applied to my copy of the sources which allowed me to
pass the compilation without any problems.
Just for the record I'm testing this on Slackware GNU/Linux:
mulander@bunkier_mysli:~/code/blog/lac/rsync$ uname -a
Linux bunkier_mysli 2.6.32.7-grsec #2 SMP Sat Feb 6 11:22:33 CET