pgsql: Trust a few system headers to stand on their own

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Trust a few system headers to stand on their own
Date: 2022-08-07 16:36:40
Message-ID: E1oKjGa-000kXE-6R@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Trust a few system headers to stand on their own

At some point in the past some headers (net/if.h on some BSDs in 2009,
netinet/tcp.h on IRIX in 2000, sys/ucred.h in 2013 on then older openbsd),
only compiled if other heades were included first, complicating configure
tests. More recent tests indicate that that's not required anymore.

Reviewed-By: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a2a36d56b96fe17c4ad9649936dcf7406eb78cc9

Modified Files
--------------
configure | 56 +-------------------------------------------------------
configure.ac | 24 +++---------------------
2 files changed, 4 insertions(+), 76 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-08-07 17:40:14 Re: pgsql: Rely on __func__ being supported
Previous Message Tom Lane 2022-08-07 13:44:07 Re: pgsql: BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking