summaryrefslogtreecommitdiff
path: root/user/mesa/musl-fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mesa/musl-fix-includes.patch')
-rw-r--r--user/mesa/musl-fix-includes.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/mesa/musl-fix-includes.patch b/user/mesa/musl-fix-includes.patch
new file mode 100644
index 000000000..2f6cc1d13
--- /dev/null
+++ b/user/mesa/musl-fix-includes.patch
@@ -0,0 +1,14 @@
+diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c
+index de05fa6..016703c 100644
+--- a/src/util/rand_xor.c
++++ b/src/util/rand_xor.c
+@@ -24,6 +24,9 @@
+
+ #if defined(__linux__)
+ #include <sys/file.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>
+ #include <unistd.h>
+ #else
+ #include <time.h>