From bc0cc68f8a1648029424e9300b2e4457acd474a6 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sat, 24 Jul 2021 19:05:14 +0900 Subject: [PATCH] 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. --- src/bin/pg_basebackup/pg_basebackup.c | 1 + src/bin/pg_dump/parallel.h | 2 ++ 2 files changed, 3 insertions(+) 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 */ -- 2.39.5