Content-Length: 257221 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b0c90c85fc93f37107365dd8c7f47ba5e00544de

9A Portability fix for commit 9a895462d. · postgrespro/postgres_cluster@b0c90c8 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b0c90c85fc93f37107365dd8c7f47ba5e00544de

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy