summaryrefslogtreecommitdiff
path: root/src/port/copydir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/copydir.c')
-rw-r--r--src/port/copydir.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/port/copydir.c b/src/port/copydir.c
index cd39f4d07ee..81a36cca4a3 100644
--- a/src/port/copydir.c
+++ b/src/port/copydir.c
@@ -6,6 +6,11 @@
#include "postgres.h"
+#undef mkdir /* no reason to use that macro because we ignore the 2nd arg */
+
+#include "dirent.h"
+
+
int
copydir(char *fromdir,char *todir)
{