aboutsummaryrefslogtreecommitdiff
path: root/lib/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/select.h')
-rw-r--r--lib/select.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/select.h b/lib/select.h
index e247bd9d0..4ed5dd2f8 100644
--- a/lib/select.h
+++ b/lib/select.h
@@ -24,10 +24,10 @@
#include "curl_setup.h"
-#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
/*