mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Always use <poll.h>
Previously we were always using <sys/poll.h> since HAVE_POLL_H is never set. This looks like an autoconfism that has crept in, but we don't use autoconf. poll.h is the correct header file, as far as I can tell.
This commit is contained in:
@@ -95,11 +95,7 @@ typedef unsigned long long u64;
|
|||||||
#if defined(HAVE_SOLARIS_NETWORK)
|
#if defined(HAVE_SOLARIS_NETWORK)
|
||||||
# include <sys/sockio.h>
|
# include <sys/sockio.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_POLL_H)
|
#include <poll.h>
|
||||||
# include <poll.h>
|
|
||||||
#else
|
|
||||||
# include <sys/poll.h>
|
|
||||||
#endif
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user