1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05: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:
Marcel Raad 2017-04-12 08:45:54 +02:00
parent ab6d23278e
commit fad74ba4cc
No known key found for this signature in database
GPG Key ID: B7F13D981BBF1607

View File

@ -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>