pgsql: Remove configure probe for sys/sockio.h.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Remove configure probe for sys/sockio.h.
Дата
Msg-id E1oOXEH-0003ff-9s@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2cea02fb85b9b00c3b95d8cd0e39cf91cd2ce289

Modified Files
--------------
configure                  | 2 +-
configure.ac               | 1 -
src/backend/libpq/ifaddr.c | 4 ----
src/include/pg_config.h.in | 3 ---
src/tools/msvc/Solution.pm | 1 -
5 files changed, 1 insertion(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: John Naylor
Дата:
Сообщение: pgsql: Update comment in gramparse.h
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Refer to replication origin roident as "ID" in user facing messa