pgsql: Fix network_spgist.c build failures from missing AF_INET definit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix network_spgist.c build failures from missing AF_INET definit
Date: 2016-08-23 20:25:41
Message-ID: E1bcIGT-0003Im-Qf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-08-24 03:21:31 pgsql: Suppress compiler warnings in non-cassert builds.
Previous Message Tom Lane 2016-08-23 19:16:55 pgsql: Create an SP-GiST opclass for inet/cidr.