From 048b8618b496ffb5d4f4c156d8603d9a751312af Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Fri, 12 Jul 2024 17:38:32 +0530 Subject: [PATCH] Use Bionic module from new Android overlay in Swift 6 instead --- .../Keys And Signatures/NIOSSHCertifiedPublicKey.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift b/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift index 0ca6158..09f6c69 100644 --- a/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift +++ b/Sources/NIOSSH/Keys And Signatures/NIOSSHCertifiedPublicKey.swift @@ -17,9 +17,11 @@ import Dispatch import NIOCore #if canImport(Darwin) import Darwin -#else +#elseif canImport(Glibc) import Glibc -#endif // canImport(Darwin) +#elseif canImport(Bionic) +import Bionic +#endif /// A ``NIOSSHCertifiedPublicKey`` is an SSH public key combined with an SSH certificate. ///