Debian Codegraph @

nx-X11/extras/Mesa.patches/1001_support_musl

raw
1 make compilation work on any non-linux glibc system. See ArcticaProject/nx-libs#975
2 --- a/src/mesa/main/glheader.h
3 +++ b/src/mesa/main/glheader.h
4 @@ -62,7 +62,7 @@
5 #include <stdlib.h>
6 #include <stdio.h>
7 #include <string.h>
8 -#if defined(__linux__) && defined(__i386__)
9 +#if defined(__GLIBC__) && defined(__i386__)
10 #include <fpu_control.h>
11 #endif
12 #endif