Define S_IRUSR if it doesn't already exist.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 6811385..ef8e3b4 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -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