summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Fedorov <vital.had@gmail.com>2024-02-04 09:28:26 +0800
committerBenBE <BenBE@geshi.org>2024-02-04 19:01:27 +0100
commit541c17c975bc8a4f1f243e568006b0e26ae52c47 (patch)
tree36dff237d272f576600087be955fcd6f6b55a6af
parent32cb30273b9785ba2dd2cada5d0a677f97db7ec0 (diff)
darwin/Platform.c: use mach/port.h
Unbreak builds on macOS versions where _mach_port_t.h does not exist. mach/port.h exists on every macOS and has needed defines.
-rw-r--r--darwin/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c
index 387910e1..77b9bcdc 100644
--- a/darwin/Platform.c
+++ b/darwin/Platform.c
@@ -18,7 +18,7 @@ in the source distribution for its full text.
#include <net/if_types.h>
#include <net/route.h>
#include <sys/socket.h>
-#include <sys/_types/_mach_port_t.h>
+#include <mach/port.h>
#include <CoreFoundation/CFBase.h>
#include <CoreFoundation/CFDictionary.h>

© 2014-2024 Faster IT GmbH | imprint | privacy policy