From 8f7e9002462c1a625e590e568fe31251a2429c8a Mon Sep 17 00:00:00 2001 From: Lei Nelissen Date: Wed, 25 Sep 2024 16:48:33 +0200 Subject: [PATCH] Fix cross-compilation to the static Linux SDK (#510) --- Sources/ConnectionPoolModule/PoolStateMachine.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/ConnectionPoolModule/PoolStateMachine.swift b/Sources/ConnectionPoolModule/PoolStateMachine.swift index 3b996033..6e41f730 100644 --- a/Sources/ConnectionPoolModule/PoolStateMachine.swift +++ b/Sources/ConnectionPoolModule/PoolStateMachine.swift @@ -1,7 +1,9 @@ #if canImport(Darwin) import Darwin -#else +#elseif canImport(Glibc) import Glibc +#elseif canImport(Musl) +import Musl #endif @usableFromInline