Skip to content

Commit

Permalink
Add support for Musl and Bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrajacic committed Dec 10, 2024
1 parent 4a74372 commit 326b74d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Sources/Citadel/Exec/Server/ExecHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 326b74d

Please sign in to comment.