X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/0596df00b3dc0ad31365514ab55ab191e27a3ad4..2b284ee33d97c4414c49c45720a3566a58a93a18:/rsync.h diff --git a/rsync.h b/rsync.h index d37243ac..ef8e3b4d 100644 --- a/rsync.h +++ b/rsync.h @@ -27,7 +27,7 @@ #define RSYNC_RSH_IO_ENV "RSYNC_RSH_IO" #define RSYNC_NAME "rsync" -#define RSYNCD_SYSCONF "/etc/rsyncd.conf" +/* RSYNCD_SYSCONF is now set in config.h */ #define RSYNCD_USERCONF "rsyncd.conf" #define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock" @@ -593,6 +593,10 @@ extern int errno; #define STDERR_FILENO 2 #endif +#ifndef S_IRUSR +#define S_IRUSR 0400 +#endif + #ifndef S_IWUSR #define S_IWUSR 0200 #endif