Skip to content

Commit 8680ec5

Browse files
committed
guard import Glibc in #if canImport
1 parent 7c0fdf9 commit 8680ec5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/AsyncSwiftIO/AsyncI2C.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
import AsyncAlgorithms
1818
import AsyncExtensions
1919
import CSwiftIO
20+
#if canImport(Glibc)
2021
import Glibc
22+
#endif
2123
#if canImport(IORing)
2224
import IORing
2325
#endif

0 commit comments

Comments
 (0)