Don't include sys/poll.h anymore.

Andres Freund <andres@anarazel.de>

Commit: b182a4ae2f9a542f7bab082c460f1250ca8a0aef
Author: Andres Freund <andres@anarazel.de>
Date: 2017-04-23T23:11:35Z
Releases: 10.0
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

Files

PathChange+/−
configure modified +1 −1
configure.in modified +1 −1
src/backend/storage/ipc/latch.c modified +0 −3
src/include/pg_config.h.in modified +0 −3
src/include/pg_config.h.win32 modified +0 −3
src/interfaces/libpq/fe-misc.c modified +0 −3

Discussion