Skip to content

Commit bb7e085

Browse files
authored
Merge pull request #40987 from 3405691582/StdintHack
Work around a possible platform/modules bug.
2 parents aac6d97 + 5147706 commit bb7e085

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/SIL/BridgedSwiftObject.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
#ifndef SWIFT_SIL_BRIDGEDSWIFTOBJECT_H
1919
#define SWIFT_SIL_BRIDGEDSWIFTOBJECT_H
2020

21+
#if defined(__OpenBSD__)
22+
#include <sys/stdint.h>
23+
#else
2124
#include <stdint.h>
25+
#endif
2226

2327
#if !defined(__has_feature)
2428
#define __has_feature(feature) 0

0 commit comments

Comments
 (0)