summaryrefslogtreecommitdiff
path: root/contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-04 12:33:43 -0500
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-04 12:33:43 -0500
commit5b135aa861c36f399002cef1c83ba73c64bc337e (patch)
tree0cf5ee3271dc17f4c73d5e66626bbdaf15754338 /contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
parentecc31787c2174a829848aac403bd13e663fe33c3 (diff)
parent2a38bf29618a8ce163f9d6f83b7ae86924752e32 (diff)
Merge branch 'develop' into zano
Diffstat (limited to 'contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch')
-rw-r--r--contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch b/contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
new file mode 100644
index 0000000..6a346ca
--- /dev/null
+++ b/contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch
@@ -0,0 +1,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> \ No newline at end of file