You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Thirdparty: Harmonize patches to document downstream changes
This commit is contained in:
16
thirdparty/linuxbsd_headers/alsa/patches/0002-freebsd-sys-endian.patch
vendored
Normal file
16
thirdparty/linuxbsd_headers/alsa/patches/0002-freebsd-sys-endian.patch
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/thirdparty/linuxbsd_headers/alsa/asoundlib.h b/thirdparty/linuxbsd_headers/alsa/asoundlib.h
|
||||
index a546194382..598175403c 100644
|
||||
--- a/thirdparty/linuxbsd_headers/alsa/asoundlib.h
|
||||
+++ b/thirdparty/linuxbsd_headers/alsa/asoundlib.h
|
||||
@@ -38,7 +38,11 @@
|
||||
#include <poll.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/endian.h>
|
||||
+#else
|
||||
#include <endian.h>
|
||||
+#endif // __FreeBSD__
|
||||
|
||||
#ifndef __GNUC__
|
||||
#define __inline__ inline
|
||||
Reference in New Issue
Block a user