Add missing header declarations for pg_basebackup and pg_{dump,restore}

This fixes two compilation failures caused by 6f164e6.  Interesting to
see that missing <limits.h> dies not fail in Linux or even Windows.  On
MacOS, it fails, though.

Per various buildfarm members.
This commit is contained in:
Michael Paquier 2021-07-24 19:05:14 +09:00
parent 6f164e6d17
commit bc0cc68f8a
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#include <unistd.h>
#include <dirent.h>
#include <limits.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>

View File

@ -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 */