Message ID | 20190524090236.10760-1-arne@rfc2549.org |
---|---|
State | Accepted |
Headers | show |
Series | [Openvpn-devel] Fix poll.h logic in syshead.h | expand |
Acked-by: Gert Doering <gert@greenie.muc.de> "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 <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> -- kind regards, Gert Doering
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 2b4c49ff..899aa59e 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