summaryrefslogtreecommitdiffstats
path: root/lib/select.h
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2017-04-19 05:41:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-11 15:26:45 (GMT)
commitfd7d521c9d70655618db8232d45e5aaf81700f91 (patch)
tree3bc749b90e932d6f220d7e1d33d6e0449def135c /lib/select.h
parent4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (diff)
downloadCMake-fd7d521c9d70655618db8232d45e5aaf81700f91.zip
CMake-fd7d521c9d70655618db8232d45e5aaf81700f91.tar.gz
CMake-fd7d521c9d70655618db8232d45e5aaf81700f91.tar.bz2
curl 2017-04-19 (d957e218)
Code extracted from: https://github.com/curl/curl.git at commit d957e2189fdc73cef0ff3d1fb58043d354754449 (curl-7_54_0).
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 e247bd9..4ed5dd2 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
/*