diff --git a/Sources/Citadel/Exec/Server/ExecHandler.swift b/Sources/Citadel/Exec/Server/ExecHandler.swift index 3695555..eb9e58c 100644 --- a/Sources/Citadel/Exec/Server/ExecHandler.swift +++ b/Sources/Citadel/Exec/Server/ExecHandler.swift @@ -19,10 +19,14 @@ import NIOFoundationCompat import NIOPosix import NIOSSH -#if os(Linux) -import Glibc -#else +#if canImport(Darwin) import Darwin +#elseif canImport(Glibc) +import Glibc +#elseif canImport(Musl) +import Musl +#elseif canImport(Bionic) +import Bionic #endif enum SSHServerError: Error {