Merge pull request #438 from neheb/patch-1

platform: Prefer poll.h to sys/poll.h
This commit is contained in:
Willem Toorop 2019-11-04 09:33:42 +01:00 committed by GitHub
commit 41e09259db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -62,10 +62,10 @@ typedef u_short sa_family_t;
const char *_getdns_strerror(DWORD errnum);
#else /* USE_WINSOCK */
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#else
#ifndef HAVE_SYS_POLL_H
# include <poll.h>
#else
# include <sys/poll.h>
#endif
#define _getdns_EINTR (EINTR)