summaryrefslogtreecommitdiffstats
path: root/thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-23 20:53:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-23 20:53:00 +0100
commitb192d3d38b57dbaaa5eca3fa14b1e727b7f6b7b5 (patch)
tree1d04ef16a674401dfa5823ad15df2fab2aff5fc4 /thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
parentc309de53997feff3286295fb2d71657f112a15db (diff)
parentacb78384d8728d5c3270904bb14257c7a56e8820 (diff)
downloadredot-engine-b192d3d38b57dbaaa5eca3fa14b1e727b7f6b7b5.tar.gz
Merge pull request #71934 from Riteo/who-thought-alsa-didnt-follow-posix
Fix builtin alsa headers building on musl
Diffstat (limited to 'thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff')
-rw-r--r--thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff b/thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
new file mode 100644
index 0000000000..8d536df579
--- /dev/null
+++ b/thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
@@ -0,0 +1,11 @@
+--- a/asoundlib.h
++++ b/asoundlib.h
+@@ -35,7 +35,7 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <assert.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <errno.h>
+ #include <stdarg.h>
+ #include <endian.h>