diff options
Diffstat (limited to 'testing/openscenegraph/musl-fixes.patch')
| -rw-r--r-- | testing/openscenegraph/musl-fixes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/openscenegraph/musl-fixes.patch b/testing/openscenegraph/musl-fixes.patch new file mode 100644 index 000000000..234c507e3 --- /dev/null +++ b/testing/openscenegraph/musl-fixes.patch @@ -0,0 +1,22 @@ +--- a/src/OpenThreads/pthreads/PThread.cpp ++++ b/src/OpenThreads/pthreads/PThread.cpp +@@ -23,7 +23,7 @@ + #include <pthread.h> + #include <limits.h> + +-#if defined __linux__ || defined __sun || defined __APPLE__ || ANDROID ++#if defined __GLIBC__ || defined __sun || defined __APPLE__ || ANDROID + #include <string.h> + #include <sys/time.h> + #include <sys/resource.h> +--- a/src/osgPlugins/osc/osc/OscHostEndianness.h ++++ b/src/osgPlugins/osc/osc/OscHostEndianness.h +@@ -51,7 +51,7 @@ + + #else + +- #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__) ++ #if defined(__linux__) || defined(__ANDROID__) || defined(__CYGWIN__) + #include <endian.h> + #if (__BYTE_ORDER == __LITTLE_ENDIAN) + #ifndef __LITTLE_ENDIAN__ |
