Skip to content

Commit 9ffe9a0

Browse files
committed
fix: restore Linux attachment resolver build
1 parent 231b8d6 commit 9ffe9a0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Sources/IMsgCore/AttachmentResolver.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
import Darwin
21
import Foundation
32

3+
#if canImport(Darwin)
4+
import Darwin
5+
#elseif canImport(Glibc)
6+
import Glibc
7+
#endif
8+
49
#if canImport(CryptoKit)
510
import CryptoKit
611
#endif

0 commit comments

Comments
 (0)