Skip to content

Commit 452302e

Browse files
authored
Merge pull request #78679 from al45tair/fix-stdint-include-error
[Backtracing] Don't include things inside a namespace.
2 parents 2adc68b + ad78a86 commit 452302e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Backtracing/modules/FixedLayout.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
#ifndef SWIFT_BACKTRACING_FIXED_LAYOUT_H
1919
#define SWIFT_BACKTRACING_FIXED_LAYOUT_H
2020

21+
#include <stdint.h>
22+
2123
#ifdef __cplusplus
2224
namespace swift {
2325
namespace runtime {
2426
namespace backtrace {
2527
#endif
2628

27-
#include <stdint.h>
28-
2929
struct x86_64_gprs {
3030
uint64_t _r[16];
3131
uint64_t rflags;

0 commit comments

Comments
 (0)