]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix poll.h logic in syshead.h
authorArne Schwabe <arne@rfc2549.org>
Fri, 24 May 2019 09:02:36 +0000 (11:02 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 24 May 2019 11:59:14 +0000 (13:59 +0200)
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 <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/syshead.h

index 2b4c49ffa98056c437132635144b8b8507b2953b..899aa59ea5cf6666fcf829c7eab1e96686db6f77 100644 (file)
@@ -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