From e5147646ab7d59dc8b66daed8f8d43139f14ca3d Mon Sep 17 00:00:00 2001 From: Michael Grosse Huelsewiesche Date: Fri, 15 Nov 2024 16:01:01 -0500 Subject: [PATCH] Fixing windows/linux networking errors --- Sources/Segment/Utilities/Telemetry.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Segment/Utilities/Telemetry.swift b/Sources/Segment/Utilities/Telemetry.swift index 330286e..55e4f87 100644 --- a/Sources/Segment/Utilities/Telemetry.swift +++ b/Sources/Segment/Utilities/Telemetry.swift @@ -1,5 +1,8 @@ import Foundation import Sovran +#if os(Linux) || os(Windows) +import FoundationNetworking +#endif public struct RemoteMetric: Codable { let type: String