aboutsummaryrefslogtreecommitdiffstats
path: root/testing/galera/musl-sys-poll-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/galera/musl-sys-poll-h.patch')
-rw-r--r--testing/galera/musl-sys-poll-h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/galera/musl-sys-poll-h.patch b/testing/galera/musl-sys-poll-h.patch
new file mode 100644
index 0000000000..e3189c7ca2
--- /dev/null
+++ b/testing/galera/musl-sys-poll-h.patch
@@ -0,0 +1,11 @@
+--- a/asio/asio/detail/socket_types.hpp
++++ b/asio/asio/detail/socket_types.hpp
+@@ -58,7 +58,7 @@
+ #else
+ # include <sys/ioctl.h>
+ # if !defined(__SYMBIAN32__)
+-# include <sys/poll.h>
++# include <poll.h> /* avoid "redirecting incorrect #include <sys/poll.h> to <poll.h>" warning */
+ # endif
+ # include <sys/types.h>
+ # include <sys/stat.h>