mirror of
https://github.com/apple/swift-system
synced 2026-11-27 05:04:27 +00:00
Add an explicit import
Necessary to use `timespec` in Swift 6 mode.
This commit is contained in:
1 parent
2159235ef0
commit
5db65c3086
1 file changed
+6
-1
@@ -2,7 +2,12 @@
|
||||
#if os(Linux)
|
||||
|
||||
import CSystem
|
||||
|
||||
#if canImport(Glibc)
|
||||
import Glibc
|
||||
#elseif canImport(Musl)
|
||||
import Musl
|
||||
#endif
|
||||
|
||||
@usableFromInline
|
||||
internal struct RawIORequest: ~Copyable {
|
||||
// swift_io_uring_sqe is a typedef of io_uring_sqe on platforms where
|
||||
|
||||
Reference in new issue
Block a user