aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c1
-rw-r--r--src/bin/pg_dump/parallel.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 9ea98481d8f..8f69c573804 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <dirent.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
diff --git a/src/bin/pg_dump/parallel.h b/src/bin/pg_dump/parallel.h
index 0b39285a015..733f2af6236 100644
--- a/src/bin/pg_dump/parallel.h
+++ b/src/bin/pg_dump/parallel.h
@@ -16,6 +16,8 @@
#ifndef PG_DUMP_PARALLEL_H
#define PG_DUMP_PARALLEL_H
+#include <limits.h>
+
#include "pg_backup_archiver.h"
/* Function to call in leader process on completion of a worker task */