diff options
Diffstat (limited to 'src/bin/pg_dump/parallel.c')
-rw-r--r-- | src/bin/pg_dump/parallel.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/bin/pg_dump/parallel.c b/src/bin/pg_dump/parallel.c index 775a7f858c9..be8e018a964 100644 --- a/src/bin/pg_dump/parallel.c +++ b/src/bin/pg_dump/parallel.c @@ -51,6 +51,12 @@ #include "postgres_fe.h" +#ifndef WIN32 +#include <sys/wait.h> +#include <signal.h> +#include <unistd.h> +#include <fcntl.h> +#endif #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> #endif @@ -59,14 +65,6 @@ #include "pg_backup_utils.h" #include "fe_utils/string_utils.h" -#ifndef WIN32 -#include <sys/types.h> -#include <sys/wait.h> -#include "signal.h" -#include <unistd.h> -#include <fcntl.h> -#endif - /* Mnemonic macros for indexing the fd array returned by pipe(2) */ #define PIPE_READ 0 #define PIPE_WRITE 1 |