From d80b8442a68093106e00a9a38b7b2c593002a72c Mon Sep 17 00:00:00 2001 From: Monty Date: Sun, 7 Feb 2016 15:00:30 +0200 Subject: Fixes needed to compile with musl C library Patch originally by Codarren Velvindron --- include/my_net.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/my_net.h') diff --git a/include/my_net.h b/include/my_net.h index 1ebb71ead23..91d780a276d 100644 --- a/include/my_net.h +++ b/include/my_net.h @@ -36,9 +36,11 @@ C_MODE_START #ifdef HAVE_ARPA_INET_H #include #endif -#ifdef HAVE_POLL +#if defined(HAVE_POLL_H) +#include +#elif defined(HAVE_SYS_POLL_H) #include -#endif +#endif /* defined(HAVE_POLL_H) */ #ifdef HAVE_SYS_IOCTL_H #include #endif -- cgit v1.2.1