From 6206316275b14bd433a8651568f0185f4fa9f038 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 3 Apr 2019 15:57:40 -0700 Subject: [PATCH] Remove wrong poll.h include musl reports: warning redirecting incorrect #include to Signed-off-by: Rosen Penev Acked-by: Gert Doering Message-Id: <20190403225740.8285-1-rosenp@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18336.html Signed-off-by: Gert Doering --- configure.ac | 2 +- src/openvpn/syshead.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index bcc74c32d25..90fc90462ab 100644 --- a/configure.ac +++ b/configure.ac @@ -436,7 +436,7 @@ AC_CHECK_HEADERS([ \ unistd.h signal.h libgen.h stropts.h \ syslog.h pwd.h grp.h \ sys/sockio.h sys/uio.h linux/sockios.h \ - linux/types.h sys/poll.h sys/epoll.h err.h \ + linux/types.h poll.h sys/epoll.h err.h \ ]) SOCKET_INCLUDES=" diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index d2a50341880..2b4c49ffa98 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -179,8 +179,8 @@ #include #endif -#ifdef HAVE_SYS_POLL_H -#include +#ifdef HAVE_POLL_H +#include #endif #ifdef HAVE_SYS_EPOLL_H