Unverified Commit f60ac577 authored by Mike Gabriel's avatar Mike Gabriel

Merge branch 'uli42-pr/musl_fixes' into 3.6.x

parents 8c3bb271 46c9c493
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
......@@ -46,6 +46,7 @@
Linux 2.0.x and 2.2.x define SHMLBA as PAGE_SIZE, but forget to define
PAGE_SIZE. It is defined in <asm/page.h>. */
#include <asm/page.h>
#include <limits.h>
#endif
#ifdef SVR4
#include <sys/sysmacros.h>
......
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