diff --git a/Tests/Segment-Tests/Telemetry_Tests.swift b/Tests/Segment-Tests/Telemetry_Tests.swift index 8b85e19..c25d47b 100644 --- a/Tests/Segment-Tests/Telemetry_Tests.swift +++ b/Tests/Segment-Tests/Telemetry_Tests.swift @@ -1,4 +1,8 @@ import XCTest +#if os(Linux) || os(Windows) +import FoundationNetworking +#endif + @testable import Segment class TelemetryTests: XCTestCase { @@ -163,4 +167,4 @@ class URLSessionMock: RestrictedHTTPSession { // Mock URLSessionDataTask class URLSessionDataTaskMock: URLSessionDataTask, @unchecked Sendable { override func resume() {} -} \ No newline at end of file +}