Don't include sys/poll.h anymore.
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| 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
- Removing select(2) based latch (was Unportable implementation of background worker start) 7 messages · 2017-04-20 → 2017-04-23