--- dnsmasq-2.83/src/dnsmasq.h	2021-01-18 00:35:24.000000000 +0100
+++ src/src/dnsmasq.h	2021-03-03 15:35:41.909761734 +0100
@@ -95,11 +95,15 @@
 #if defined(HAVE_SOLARIS_NETWORK)
 #  include <sys/sockio.h>
 #endif
+#if defined(__GLIBC__)
 #if defined(HAVE_POLL_H)
 #  include <poll.h>
 #else
 #  include <sys/poll.h>
 #endif
+#else
+#include <poll.h>
+#endif
 #include <sys/wait.h>
 #include <sys/time.h>
 #include <sys/un.h>
