diff --git a/Sources/NIOTransportServices/NIOTSSingletons.swift b/Sources/NIOTransportServices/NIOTSSingletons.swift index e170891..770f72c 100644 --- a/Sources/NIOTransportServices/NIOTSSingletons.swift +++ b/Sources/NIOTransportServices/NIOTSSingletons.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #if canImport(Network) +import Dispatch import NIOCore @available(OSX 10.14, iOS 12.0, tvOS 12.0, watchOS 6.0, *) diff --git a/Sources/NIOTransportServices/StateManagedNWConnectionChannel.swift b/Sources/NIOTransportServices/StateManagedNWConnectionChannel.swift index 21fd99f..045fccd 100644 --- a/Sources/NIOTransportServices/StateManagedNWConnectionChannel.swift +++ b/Sources/NIOTransportServices/StateManagedNWConnectionChannel.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #if canImport(Network) +import Atomics import Foundation import NIOCore import NIOConcurrencyHelpers diff --git a/Tests/NIOTransportServicesTests/NIOTSConnectionChannelTests.swift b/Tests/NIOTransportServicesTests/NIOTSConnectionChannelTests.swift index d813a1b..f9cbe1b 100644 --- a/Tests/NIOTransportServicesTests/NIOTSConnectionChannelTests.swift +++ b/Tests/NIOTransportServicesTests/NIOTSConnectionChannelTests.swift @@ -16,6 +16,7 @@ import XCTest import Network import NIOCore +import NIOFoundationCompat import NIOTransportServices import Foundation