X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cd3fe9fb03065b0284eaac4069ffde5cad5081f6..3c3791e8be94dc75a1fa2167ce1ac8d5e724ebc8:/rsync.h diff --git a/rsync.h b/rsync.h index 6811385e..9791094a 100644 --- a/rsync.h +++ b/rsync.h @@ -246,6 +246,10 @@ enum msgcode { # endif #endif +#ifdef HAVE_SYS_MKDEV_H +#include +#endif + #ifdef HAVE_COMPAT_H #include #endif @@ -593,6 +597,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