Revert "semver: 1.0 -> 1"
[awesomized/libmemcached] / src / p9y / poll.hpp
index 6a24261889b14a15e57c1be9a209ab0df65d3323..9d410dd339909ff7ed96b60afc3c46a54afca540 100644 (file)
@@ -2,10 +2,10 @@
 
 #include "libmemcached-1.0/platform.h"
 
-#if defined HAVE_SYS_POLL_H
-#  include <sys/poll.h>
-#elif defined HAVE_POLL_H
+#if defined HAVE_POLL_H
 #  include <poll.h>
+#elif defined HAVE_SYS_POLL_H
+#  include <sys/poll.h>
 #elif defined _WIN32
 #  define poll WSAPoll
 typedef int nfds_t;