1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-18 13:55:11 -05:00
polybar/contrib/polybar.xbps/patches/001-musl-poll.patch

18 lines
359 B
Diff
Raw Normal View History

2016-10-29 13:16:39 -04:00
Fix poll.h warning on musl
--- include/adapters/alsa.hpp.orig
+++ include/adapters/alsa.hpp
@@ -4,7 +4,12 @@
#include <functional>
#include <string>
+#include <poll.h>
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-W#warnings"
#include <alsa/asoundlib.h>
+#pragma clang diagnostic pop
#include "common.hpp"
#include "config.hpp"