Skip to content

Commit b0c90c8

Browse files
committed
Portability fix for commit 9a89546.
So far as I can find, NI_MAXHOST isn't actually required anywhere by POSIX. Nonetheless, commit 9a89546 supposed that it could rely on having that symbol without any ceremony at all. We do have a hack for providing it if the platform doesn't, in getaddrinfo.h, so fix the problem by #including that file. Per buildfarm.
1 parent a4ebbd2 commit b0c90c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/replication/walreceiver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "access/xlog.h"
1616
#include "access/xlogdefs.h"
1717
#include "fmgr.h"
18+
#include "getaddrinfo.h" /* for NI_MAXHOST */
1819
#include "replication/logicalproto.h"
1920
#include "replication/walsender.h"
2021
#include "storage/latch.h"

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