1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Thomas Munro
2022-08-18 16:12:20 +12:00
parent 2f8d918359
commit 2cea02fb85
5 changed files with 1 additions and 10 deletions

View File

@ -1457,7 +1457,6 @@ AC_CHECK_HEADERS(m4_normalize([
sys/prctl.h
sys/procctl.h
sys/signalfd.h
sys/sockio.h
sys/ucred.h
termios.h
ucred.h