mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
tests/server/util: prefer <poll.h> over <sys/poll.h>
Follow-up to aa573c3c55
Ref: https://github.com/curl/curl/pull/1406
This commit is contained in:
parent
ab6d23278e
commit
fad74ba4cc
@ -34,10 +34,10 @@
|
|||||||
#ifdef HAVE_NETDB_H
|
#ifdef HAVE_NETDB_H
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SYS_POLL_H
|
#ifdef HAVE_POLL_H
|
||||||
#include <sys/poll.h>
|
|
||||||
#elif defined(HAVE_POLL_H)
|
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
#elif defined(HAVE_SYS_POLL_H)
|
||||||
|
#include <sys/poll.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
#include <w32api.h>
|
#include <w32api.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user