view graphics/mesa/musl.patch @ 1180:99c240ea1b56

core/busybox: disable compiler extensions for clang While here: - add PKGWWW, - add more tunables (AR, AS and such).
author David Demelier <markand@malikania.fr>
date Fri, 25 Oct 2019 20:03:00 +0200
parents 99bc133dd404
children
line wrap: on
line source

--- a/src/util/rand_xor.c
+++ b/src/util/rand_xor.c
@@ -24,6 +24,8 @@
 
 #if defined(__linux__)
 #include <sys/file.h>
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
 #else
--- ./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"