diff options
Diffstat (limited to 'tests/server/util.c')
-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> |