Remove configure probe for sys/sockio.h.
authorThomas Munro <[email protected]>
Thu, 18 Aug 2022 04:12:20 +0000 (16:12 +1200)
committerThomas Munro <[email protected]>
Thu, 18 Aug 2022 04:31:11 +0000 (16:31 +1200)
commit2cea02fb85b9b00c3b95d8cd0e39cf91cd2ce289
treed5becdab7ff718c391a01f8f782c874523cca473
parent2f8d918359ccb34533690735eb46b851002ac698
Remove configure probe for sys/sockio.h.

On BSD-family systems, header <sys/sockio.h> defines socket ioctl
numbers like SIOCGIFCONF.  Only AIX is using those now, but it defines
them in <net/if.h> anyway.

Supposing some PostgreSQL hacker wants to test that AIX-only code path
on a more common development system by pretending not to have
getifaddrs().  It's enough to include <sys/ioctl.h>, at least on macOS,
FreeBSD and Linux, and we're already doing that.
configure
configure.ac
src/backend/libpq/ifaddr.c
src/include/pg_config.h.in
src/tools/msvc/Solution.pm