Trust a few system headers to stand on their own

Andres Freund <andres@anarazel.de>

Commit: a2a36d56b96fe17c4ad9649936dcf7406eb78cc9
Author: Andres Freund <andres@anarazel.de>
Date: 2022-08-07T16:36:01Z
Releases: 16.0
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.munro@gmail.com>
Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.de

Files

PathChange+/−
configure modified +1 −55
configure.ac modified +3 −21

Discussion