pgsql: Fix network_spgist.c build failures from missing AF_INET definit - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix network_spgist.c build failures from missing AF_INET definit
Date
Msg-id E1bcIGT-0003Im-Qf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/32909a57f9fb131eab8971a6d9845b55bbcb9091

Modified Files
--------------
src/backend/utils/adt/network_spgist.c | 2 ++
1 file changed, 2 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Create an SP-GiST opclass for inet/cidr.
Next
From: Tom Lane
Date:
Subject: pgsql: Suppress compiler warnings in non-cassert builds.