Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1
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)