Fix poll.h logic in syshead.h
PATCH 1/1 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.
--- src/openvpn/syshead.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/syshead.h +1 -1
@@ -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
Signature · 1 line
2.21.0
Acked-by Gert Doering <[email protected]...>
"Obvious oversight". More configure silliness might be fixable, but this is like easy and direct :-) - smoke tested on FreeBSD.
Your patch has been applied to the master branch.
commit e077726c768c24809531a55332ae1e273f8e41c2
Author: Arne Schwabe Date: Fri May 24 11:02:36 2019 +0200
Fix poll.h logic in syshead.h
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg18475.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering