mirror of https://github.com/getdnsapi/getdns.git
Merge pull request #438 from neheb/patch-1
platform: Prefer poll.h to sys/poll.h
This commit is contained in:
commit
41e09259db
|
@ -62,10 +62,10 @@ typedef u_short sa_family_t;
|
||||||
const char *_getdns_strerror(DWORD errnum);
|
const char *_getdns_strerror(DWORD errnum);
|
||||||
#else /* USE_WINSOCK */
|
#else /* USE_WINSOCK */
|
||||||
|
|
||||||
#ifdef HAVE_SYS_POLL_H
|
#ifndef HAVE_SYS_POLL_H
|
||||||
# include <sys/poll.h>
|
|
||||||
#else
|
|
||||||
# include <poll.h>
|
# include <poll.h>
|
||||||
|
#else
|
||||||
|
# include <sys/poll.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _getdns_EINTR (EINTR)
|
#define _getdns_EINTR (EINTR)
|
||||||
|
|
Loading…
Reference in New Issue