From b182a4ae2f9a542f7bab082c460f1250ca8a0aef Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sun, 23 Apr 2017 16:04:46 -0700 Subject: 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 --- src/interfaces/libpq/fe-misc.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index ba7400b425a..756c6d77790 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -46,9 +46,6 @@ #ifdef HAVE_POLL_H #include #endif -#ifdef HAVE_SYS_POLL_H -#include -#endif #ifdef HAVE_SYS_SELECT_H #include #endif -- cgit v1.2.3