From 24eb7ea455b80b564453aa5f4be7a5eee603bb96 Mon Sep 17 00:00:00 2001 From: cyan Date: Fri, 15 Nov 2024 15:33:07 +0000 Subject: fixes to darwin --- .../patches/darwin_sdk/fix_missing_definitions.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 contrib/depends/patches/darwin_sdk/fix_missing_definitions.patch (limited to 'contrib/depends/patches/darwin_sdk') 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 + #include + #include \ No newline at end of file -- cgit v1.2.3