X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cd3fe9fb03065b0284eaac4069ffde5cad5081f6..f8ed564c9f74993ebccb5832473c6ab777e27e7f:/rsync.h diff --git a/rsync.h b/rsync.h index 6811385e..b60f67af 100644 --- a/rsync.h +++ b/rsync.h @@ -246,6 +246,12 @@ enum msgcode { # endif #endif +#if MAJOR_IN_MKDEV +#include +#elif MAJOR_IN_SYSMACROS +#include +#endif + #ifdef HAVE_COMPAT_H #include #endif @@ -593,6 +599,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