diff --git a/Sources/ExampleSwiftLibrary/MySwiftLibrary.swift b/Sources/ExampleSwiftLibrary/MySwiftLibrary.swift index b5c8f5fd..36e09b14 100644 --- a/Sources/ExampleSwiftLibrary/MySwiftLibrary.swift +++ b/Sources/ExampleSwiftLibrary/MySwiftLibrary.swift @@ -19,7 +19,9 @@ #if os(Linux) import Glibc -#else +#elseif os(Windows) +import CRT +#elseif canImport(Darwin) import Darwin.C #endif