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
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_POLL_H
|
||||
#include <sys/poll.h>
|
||||
#elif defined(HAVE_POLL_H)
|
||||
#ifdef HAVE_POLL_H
|
||||
#include <poll.h>
|
||||
#elif defined(HAVE_SYS_POLL_H)
|
||||
#include <sys/poll.h>
|
||||
#endif
|
||||
#ifdef __MINGW32__
|
||||
#include <w32api.h>
|
||||
|
Loading…
Reference in New Issue
Block a user