Compilation problem with linux/falloc.h include in rsync.h
Wayne Davison
wayned at samba.org
Mon May 16 09:37:05 MDT 2011
On Sun, May 15, 2011 at 9:36 AM, Mulander <netprobe at gmail.com> wrote:
> #if defined HAVE_FALLOCATE || HAVE_SYS_FALLOCATE
> -#include <linux/falloc.h>
> +#include <fcntl.h>
> #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 a configure check for the include, which should fix things
up for you.
..wayne..
More information about the rsync
mailing list