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