mirror of
https://github.com/curl/curl.git
synced 2026-05-20 03:16:20 +03:00
check availability of poll.h header at configuration time, and include
it when sys/poll.h is unavailable
This commit is contained in:
parent
727e23322f
commit
bdb2beb8e4
5 changed files with 17 additions and 3 deletions
|
|
@ -85,6 +85,8 @@
|
|||
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#elif defined(HAVE_POLL_H)
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue