fix: build with MemberImportVisibility

This commit is contained in:
Sarunas authored and Guillaume Lessard committed 2026-06-12 16:35:26 -07:00
1 parent 8af20f00ab
commit ede51c41cb
1 file changed
+17
@@ -9,6 +9,23 @@
#if !os(Windows)
#if SYSTEM_PACKAGE_DARWIN
import Darwin
#elseif canImport(Glibc)
import CSystem
import Glibc
#elseif canImport(Musl)
import CSystem
import Musl
#elseif canImport(WASILibc)
import WASILibc
#elseif canImport(Android)
import CSystem
import Android
#else
#error("Unsupported Platform")
#endif
/// Get the path to the system temporary directory.
internal func _getTemporaryDirectory() throws -> FilePath {
guard let tmp = system_getenv("TMPDIR") else {