aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/musl-fixes.patch
blob: ac5e5aa7a9a9ab360bcaf9c0fe70aeb992561ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./src/gallium/winsys/svga/drm/vmw_screen.h.orig
+++ ./src/gallium/winsys/svga/drm/vmw_screen.h
@@ -34,7 +34,7 @@
 #ifndef VMW_SCREEN_H_
 #define VMW_SCREEN_H_
 
-
+#include <sys/stat.h>
 #include "pipe/p_compiler.h"
 #include "pipe/p_state.h"
 
--- a/src/util/u_endian.h.orig	2016-11-04 12:16:00.480356454 +0100
+++ b/src/util/u_endian.h	2016-11-04 12:16:11.984347944 +0100
@@ -27,7 +27,7 @@
 #ifndef U_ENDIAN_H
 #define U_ENDIAN_H
 
-#if defined(__GLIBC__) || defined(ANDROID)
+#if defined(__linux__) || defined(ANDROID)
 #include <endian.h>
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN