Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb0c90c8

Browse files
committed
Portability fix for commit9a89546.
So far as I can find, NI_MAXHOST isn't actually required anywhere byPOSIX. Nonetheless, commit9a89546 supposed that it could rely onhaving that symbol without any ceremony at all. We do have a hackfor providing it if the platform doesn't, in getaddrinfo.h, so fixthe problem by #including that file. Per buildfarm.
1 parenta4ebbd2 commitb0c90c8

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)

[8]ページ先頭

©2009-2025 Movatter.jp