summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-05-16 01:57:52 +0000
committerBruce Momjian <bruce@momjian.us>2003-05-16 01:57:52 +0000
commitec5e0ef79125698c0f717ce7d661c3b23f91deb0 (patch)
tree1ba714241fdcc21024b56f7b377b35b0bfe5709e /src/port
parent5e04f3857c9369351edbf8f906d1d8c2665c8a1f (diff)
downloadpostgresql-ec5e0ef79125698c0f717ce7d661c3b23f91deb0.tar.gz
Reorganize Win32 includes to only include <port.h> after system includes
under Win32. Also fix other compile issues.
Diffstat (limited to 'src/port')
-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 cd39f4d07e..81a36cca4a 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)
{