Commit 8b6d454c authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Mesa: make compilation with work with musl

Fixes ArcticaProject/nx-lib#975
parent 8c3bb271
make compilation work on any non-linux glibc system. See ArcticaProject/nx-libs#975
--- a/src/mesa/main/glheader.h
+++ b/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
......@@ -5,3 +5,4 @@
5001_nasty-typo-fixes.patch
4005_adapt-all-libX11-include-paths-to-libNX_X11.patch
5002_silence-uninitialized.diff
1001_support_musl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment