diff --git a/Sources/System/MachPort.swift b/Sources/System/MachPort.swift index 124ab0d..c501c82 100644 --- a/Sources/System/MachPort.swift +++ b/Sources/System/MachPort.swift @@ -9,7 +9,11 @@ #if SYSTEM_PACKAGE_DARWIN +#if canImport(Darwin, _version: 310) import Darwin.Mach +#else +@preconcurrency import Darwin.Mach +#endif @available(System 1.4.0, *) public protocol MachPortRight {}