Merge pull request #71934 from Riteo/who-thought-alsa-didnt-follow-posix

Fix builtin alsa headers building on musl
This commit is contained in:
Rémi Verschelde 2023-01-23 20:53:00 +01:00
commit b192d3d38b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
3 changed files with 13 additions and 1 deletions

View File

@ -11,6 +11,7 @@ readability.
- Version: 1.1.3-5
- License: LPGL-2.1+
Patches in the `patches` directory should be re-applied after updates.
## dbus

View File

@ -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>

View File

@ -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>