diff --git a/Sources/OpenAttributeGraphShims/DebugClient.swift b/Sources/OpenAttributeGraphShims/DebugClient.swift index 5ba7cee9..5bd3f6c0 100644 --- a/Sources/OpenAttributeGraphShims/DebugClient.swift +++ b/Sources/OpenAttributeGraphShims/DebugClient.swift @@ -2,7 +2,7 @@ // DebugServerTests.swift // OpenAttributeGraphShims -#if canImport(Darwin) +#if canImport(Darwin) && canImport(Network) public import Foundation public import Network diff --git a/Tests/OpenAttributeGraphCxxTests/DebugServer/DebugServerTests.swift b/Tests/OpenAttributeGraphCxxTests/DebugServer/DebugServerTests.swift index cc5a0c01..799399ee 100644 --- a/Tests/OpenAttributeGraphCxxTests/DebugServer/DebugServerTests.swift +++ b/Tests/OpenAttributeGraphCxxTests/DebugServer/DebugServerTests.swift @@ -2,7 +2,7 @@ // DebugServerTests.swift // OpenAttributeGraphCxxTests -#if canImport(Darwin) +#if canImport(Darwin) && canImport(Network) import Foundation import OpenAttributeGraphCxx_Private.DebugServer import Testing