[profile][Fuchsia] Add missing system header #include
authorRoland McGrath <mcgrathr@google.com>
Fri, 6 Aug 2021 02:51:48 +0000 (19:51 -0700)
committerRoland McGrath <mcgrathr@google.com>
Sat, 7 Aug 2021 00:59:35 +0000 (17:59 -0700)
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

compiler-rt/lib/profile/InstrProfilingUtil.c

index 4fa792b..062727f 100644 (file)
@@ -34,6 +34,7 @@
 #endif
 
 #if defined(__Fuchsia__)
+#include <zircon/process.h>
 #include <zircon/syscalls.h>
 #endif