Skip to content

Commit bc0cc68

Browse files
committed
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.
1 parent 6f164e6 commit bc0cc68

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include <unistd.h>
1717
#include <dirent.h>
18+
#include <limits.h>
1819
#include <sys/stat.h>
1920
#include <sys/wait.h>
2021
#include <signal.h>

src/bin/pg_dump/parallel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#ifndef PG_DUMP_PARALLEL_H
1717
#define PG_DUMP_PARALLEL_H
1818

19+
#include <limits.h>
20+
1921
#include "pg_backup_archiver.h"
2022

2123
/* Function to call in leader process on completion of a worker task */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy