pgsql: Don't include sys/poll.h anymore.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't include sys/poll.h anymore.
Date: 2017-04-23 23:12:18
Message-ID: E1d2Qfy-0002Zt-WC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't include sys/poll.h anymore.

poll.h is mandated by Single Unix Spec v2, the usual baseline for
postgres on unix. None of the unixoid buildfarms animals has
sys/poll.h but not poll.h. Therefore there's not much point to test
for sys/poll.h's existence and include it optionally.

Author: Andres Freund, per suggestion from Tom Lane
Discussion: https://postgr.es/m/20505.1492723662@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
configure | 2 +-
configure.in | 2 +-
src/backend/storage/ipc/latch.c | 3 ---
src/include/pg_config.h.in | 3 ---
src/include/pg_config.h.win32 | 3 ---
src/interfaces/libpq/fe-misc.c | 3 ---
6 files changed, 2 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-04-24 02:53:15 Re: [COMMITTERS] pgsql: Replication lag tracking for walsenders
Previous Message Andres Freund 2017-04-23 22:57:53 pgsql: Zero padding in replication origin's checkpointed on disk-state.