From: Arne Schwabe Date: Fri, 24 May 2019 09:02:36 +0000 (+0200) Subject: Fix poll.h logic in syshead.h X-Git-Tag: v2.5_beta1~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07290dc292ed3a7c9200688e4a63607d9e2fae3e;p=thirdparty%2Fopenvpn.git Fix poll.h logic in syshead.h Commit 62063162 change the include from sys/poll.h to just poll.h but forgot to also change all occurrences of HAVE_SYS_POLL_H to HAVE_POLL_H. Acked-by: Gert Doering Message-Id: <20190524090236.10760-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18475.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 2b4c49ffa..899aa59ea 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -600,7 +600,7 @@ socket_defined(const socket_descriptor_t sd) /* * Is poll available on this platform? */ -#if defined(HAVE_POLL) && defined(HAVE_SYS_POLL_H) +#if defined(HAVE_POLL) && defined(HAVE_POLL_H) #define POLL 1 #else #define POLL 0