Portability fix for commit 9a895462d.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Mar 2018 00:52:05 +0000 (20:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Mar 2018 00:52:13 +0000 (20:52 -0400)
commitb0c90c85fc93f37107365dd8c7f47ba5e00544de
tree0d50d3b9fa87edce27d6b49821b8699d23c5195b
parenta4ebbd27527087fcf3ade36f4e0072033e5b2f78
Portability fix for commit 9a895462d.

So far as I can find, NI_MAXHOST isn't actually required anywhere by
POSIX.  Nonetheless, commit 9a895462d 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.
src/include/replication/walreceiver.h