You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix builtin alsa headers building on musl
For some reason it doesn't use the POSIX `poll.h`, instead resorting to `sys/poll.h`. Musl doesn't really like this at all, throwing a warning and, thus, halting compilation.
This commit is contained in:
1
thirdparty/linuxbsd_headers/README.md
vendored
1
thirdparty/linuxbsd_headers/README.md
vendored
@@ -11,6 +11,7 @@ readability.
|
|||||||
- Version: 1.1.3-5
|
- Version: 1.1.3-5
|
||||||
- License: LPGL-2.1+
|
- License: LPGL-2.1+
|
||||||
|
|
||||||
|
Patches in the `patches` directory should be re-applied after updates.
|
||||||
|
|
||||||
## dbus
|
## dbus
|
||||||
|
|
||||||
|
|||||||
2
thirdparty/linuxbsd_headers/alsa/asoundlib.h
vendored
2
thirdparty/linuxbsd_headers/alsa/asoundlib.h
vendored
@@ -35,7 +35,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/poll.h>
|
#include <poll.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
|||||||
11
thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
vendored
Normal file
11
thirdparty/linuxbsd_headers/alsa/patches/use-standard-poll-h.diff
vendored
Normal 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>
|
||||||
Reference in New Issue
Block a user