summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index a9244f04c..c4534947a 100644
--- a/src/system.h
+++ b/src/system.h
@@ -193,6 +193,10 @@ initialize_exit_failure (int status)
# define O_NOFOLLOW 0
#endif
+#if !defined O_NOLINKS
+# define O_NOLINKS 0
+#endif
+
#if !defined O_RSYNC
# define O_RSYNC 0
#endif