summaryrefslogtreecommitdiff
path: root/contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
blob: 6a346cab74b1d54d91b56a8f5940aeb15a8caef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/usr/include/sys/ucred.h   2024-11-15 15:03:31.037756112 +0000
+++ b/usr/include/sys/ucred.h     2024-11-15 15:03:35.337755945 +0000
@@ -70,6 +70,15 @@
 #ifndef _SYS_UCRED_H_
 #define _SYS_UCRED_H_
 
+#ifndef u_int
+typedef unsigned int u_int;
+#endif
+#ifndef u_char
+typedef unsigned char u_char;
+#endif
+#ifndef u_short
+typedef unsigned short u_short;
+#endif
 #include <sys/appleapiopts.h>
 #include <sys/cdefs.h>
 #include <sys/param.h>