Define S_IRUSR if it doesn't already exist.
authorWayne Davison <wayned@samba.org>
Sat, 6 Mar 2004 07:43:55 +0000 (07:43 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 6 Mar 2004 07:43:55 +0000 (07:43 +0000)
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