diff --git a/Sources/Push/PushClient.swift b/Sources/Push/PushClient.swift index d066bba..db815b1 100644 --- a/Sources/Push/PushClient.swift +++ b/Sources/Push/PushClient.swift @@ -1,12 +1,18 @@ import Foundation import PushMessageDefinitions +// Use crypto replacement on Linux #if canImport(CryptoKit) import CryptoKit #else import Crypto #endif +// Import network types on Linux +#if canImport(FoundationNetworking) +import FoundationNetworking +#endif + /** A client to interact with a push server. */