Skip to content

Commit 5a2a179

Browse files
committed
[profile][Fuchsia] Add missing system header #include
The _zx_vmar_root_self function is not a system call but a libc function declared in a separate header. Reviewed By: gulfem Differential Revision: https://reviews.llvm.org/D107616
1 parent 9d5e95d commit 5a2a179

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/profile/InstrProfilingUtil.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#endif
3535

3636
#if defined(__Fuchsia__)
37+
#include <zircon/process.h>
3738
#include <zircon/syscalls.h>
3839
#endif
3940

0 commit comments

Comments
 (0)