summaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index d02520018..4a353388c 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -565,7 +565,9 @@ int mch_rename __ARGS((const char *src, const char *dest));
# endif
#endif
-#define HAVE_DUP /* have dup() */
+#ifndef HAVE_DUP
+# define HAVE_DUP /* have dup() */
+#endif
#define HAVE_ST_MODE /* have stat.st_mode */
/* We have three kinds of ACL support. */