diff --git a/lib/select.h b/lib/select.h index e247bd9d05..4ed5dd2f8d 100644 --- a/lib/select.h +++ b/lib/select.h @@ -24,10 +24,10 @@ #include "curl_setup.h" -#ifdef HAVE_SYS_POLL_H -#include -#elif defined(HAVE_POLL_H) +#ifdef HAVE_POLL_H #include +#elif defined(HAVE_SYS_POLL_H) +#include #endif /* diff --git a/src/tool_sleep.c b/src/tool_sleep.c index d878512ac4..e19db5a779 100644 --- a/src/tool_sleep.c +++ b/src/tool_sleep.c @@ -25,10 +25,10 @@ # include #endif -#ifdef HAVE_SYS_POLL_H -# include -#elif defined(HAVE_POLL_H) +#ifdef HAVE_POLL_H # include +#elif defined(HAVE_SYS_POLL_H) +# include #endif #ifdef MSDOS