summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/system/dir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/include/system/dir.h b/source4/include/system/dir.h
index 14c0ba4f19..07a732e206 100644
--- a/source4/include/system/dir.h
+++ b/source4/include/system/dir.h
@@ -37,3 +37,6 @@
# endif
#endif
+#ifndef HAVE_MKDIR_MODE
+#define mkdir(dir, mode) mkdir(dir)
+#endif