From: Michael Paquier Date: Sat, 24 Jul 2021 10:05:14 +0000 (+0900) Subject: Add missing header declarations for pg_basebackup and pg_{dump,restore} X-Git-Tag: REL_15_BETA1~1821 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=bc0cc68f8a1648029424e9300b2e4457acd474a6;p=postgresql.git Add missing header declarations for pg_basebackup and pg_{dump,restore} This fixes two compilation failures caused by 6f164e6. Interesting to see that missing dies not fail in Linux or even Windows. On MacOS, it fails, though. Per various buildfarm members. --- 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 #include +#include #include #include #include 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 + #include "pg_backup_archiver.h" /* Function to call in leader process on completion of a worker task */