On Sun, May 15, 2011 at 9:36 AM, Mulander <netpr...@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.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html