aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nx-libs/fix-musl-headers-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nx-libs/fix-musl-headers-x86.patch')
-rw-r--r--testing/nx-libs/fix-musl-headers-x86.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/nx-libs/fix-musl-headers-x86.patch b/testing/nx-libs/fix-musl-headers-x86.patch
new file mode 100644
index 0000000000..3f51b8e4b1
--- /dev/null
+++ b/testing/nx-libs/fix-musl-headers-x86.patch
@@ -0,0 +1,11 @@
+--- ./nx-X11/extras/Mesa/src/mesa/main/glheader.h.orig
++++ ./nx-X11/extras/Mesa/src/mesa/main/glheader.h
+@@ -62,7 +62,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+-#if defined(__linux__) && defined(__i386__)
++#if defined(__GLIBC__) && defined(__i386__)
+ #include <fpu_control.h>
+ #endif
+ #endif