diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-12 08:45:54 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-12 08:45:54 +0200 |
commit | fad74ba4cc1564a064853ad0a6dbff648cf04ecc (patch) | |
tree | 1b6833f465d4c4261f59068c7d235335ad4333fb | |
parent | ab6d23278e507eb1f8dc1ea6c33191827ae6cc5e (diff) |
tests/server/util: prefer <poll.h> over <sys/poll.h>
Follow-up to aa573c3c55cda72ec5ef677d87f6f46a53385f0c
Ref: https://github.com/curl/curl/pull/1406
-rw-r--r-- | tests/server/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/util.c b/tests/server/util.c index b3e874434..a2340f462 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -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> |