Fix network_spgist.c build failures from missing AF_INET definition.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Aug 2016 20:25:35 +0000 (16:25 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Aug 2016 20:25:35 +0000 (16:25 -0400)
commit32909a57f9fb131eab8971a6d9845b55bbcb9091
treea3b779595004cb6bbf261899f097b73a5695cd30
parent77e2906821e2aec3c0807866a84c2934feeac8be
Fix network_spgist.c build failures from missing AF_INET definition.

AF_INET is apparently defined in something that's pulled in automatically
on Linux, but the buildfarm says that's not true everywhere.  Comparing
to network_gist.c suggests that including <sys/socket.h> ought to fix it,
and the POSIX standard concurs.
src/backend/utils/adt/network_spgist.c