X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f578043391634ae1d345e84657fec7ecfb0f34a0..6608462cac742530ed6528bfb5ac7e26f43a31ea:/rsync.h diff --git a/rsync.h b/rsync.h index 345144d5..b3d44725 100644 --- a/rsync.h +++ b/rsync.h @@ -69,6 +69,13 @@ #endif #include + +#ifdef HAVE_GETOPT_LONG +#include +#else +#include "lib/getopt.h" +#endif + #ifdef HAVE_UNISTD_H #include #endif @@ -162,12 +169,6 @@ #include "lib/fnmatch.h" #endif -#ifdef HAVE_GETOPT_LONG -#include -#else -#include "lib/getopt.h" -#endif - #ifdef HAVE_GLOB #include #endif @@ -437,3 +438,6 @@ extern int errno; #define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode)) +#ifndef ACCESSPERMS +#define ACCESSPERMS 0777 +#endif