summaryrefslogtreecommitdiff
path: root/user/wine/headers.patch
blob: 73ca8c7db370f908693f1a168e590721839da59c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
These are needed for musl/POSIX.

--- a/dlls/winebus.sys/bus_udev.c	2021-10-23 15:38:33.225064731 +0200
+++ b/dlls/winebus.sys/bus_udev.c	2021-10-23 15:39:06.662064765 +0200
@@ -29,7 +29,8 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdint.h>
-#include <sys/types.h>
+#include <sys/types.h>
+#include <limits.h>
 #include <dirent.h>
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
--- a/server/security.h	2022-01-29 08:23:43.759508270 +0100
+++ b/server/security.h	2022-01-29 08:24:07.976443565 +0100
@@ -22,6 +22,7 @@
 #define __WINE_SERVER_SECURITY_H
 
 #include <sys/types.h>
+#include <unistd.h>
 
 extern const struct luid SeIncreaseQuotaPrivilege;
 extern const struct luid SeSecurityPrivilege;