Fix network_spgist.c build failures from missing AF_INET definition.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 32909a57f9fb131eab8971a6d9845b55bbcb9091
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-08-23T20:25:35Z
Releases: 10.0
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.

Files

PathChange+/−
src/backend/utils/adt/network_spgist.c modified +2 −0