From 67a8ec27f56531112ccc7c76e11b55adf42366e2 Mon Sep 17 00:00:00 2001 From: Jeremy Schonfeld Date: Mon, 3 Nov 2025 12:13:51 -0800 Subject: [PATCH] Fix Data-related Android build failures --- .../FoundationEssentials/Data/Representations/Data+Inline.swift | 2 ++ .../FoundationEssentials/Data/Representations/DataStorage.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Sources/FoundationEssentials/Data/Representations/Data+Inline.swift b/Sources/FoundationEssentials/Data/Representations/Data+Inline.swift index b71eb7a0b..22d4bf0a9 100644 --- a/Sources/FoundationEssentials/Data/Representations/Data+Inline.swift +++ b/Sources/FoundationEssentials/Data/Representations/Data+Inline.swift @@ -20,6 +20,8 @@ import Darwin import ucrt #elseif canImport(WASILibc) @preconcurrency import WASILibc +#elseif canImport(Bionic) +@preconcurrency import Bionic #endif @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *) diff --git a/Sources/FoundationEssentials/Data/Representations/DataStorage.swift b/Sources/FoundationEssentials/Data/Representations/DataStorage.swift index 2d164a55c..71e00235b 100644 --- a/Sources/FoundationEssentials/Data/Representations/DataStorage.swift +++ b/Sources/FoundationEssentials/Data/Representations/DataStorage.swift @@ -20,6 +20,8 @@ import Darwin import ucrt #elseif canImport(WASILibc) @preconcurrency import WASILibc +#elseif canImport(Bionic) +@preconcurrency import Bionic #endif // Underlying storage representation for medium and large data.