Skip to content

Commit 67ca047

Browse files
committed
Fix another Swift 6 error
1 parent 07090e6 commit 67ca047

File tree

1 file changed

+5
-0
lines changed
  • Examples/streaming-chatgpt-proxy/Sources/ClientCLI

1 file changed

+5
-0
lines changed

Examples/streaming-chatgpt-proxy/Sources/ClientCLI/main.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
1313
//===----------------------------------------------------------------------===//
14+
15+
// https://github.com/swiftlang/swift/issues/77866
16+
#if canImport(Glibc)
17+
@preconcurrency import Glibc
18+
#endif
1419
import OpenAPIRuntime
1520
import OpenAPIURLSession
1621
import Foundation

0 commit comments

Comments
 (0)