[scudo] Clean up Zircon header file uses
authorRoland McGrath <mcgrathr@google.com>
Sat, 28 May 2022 01:22:38 +0000 (18:22 -0700)
committerRoland McGrath <mcgrathr@google.com>
Sat, 28 May 2022 04:39:03 +0000 (21:39 -0700)
Make fuchsia.h and fuchsia.cpp each include what they use.

compiler-rt/lib/scudo/standalone/fuchsia.cpp
compiler-rt/lib/scudo/standalone/fuchsia.h

index 3b473bc..088f077 100644 (file)
@@ -17,6 +17,7 @@
 #include <lib/sync/mutex.h> // for sync_mutex_t
 #include <stdlib.h>         // for getenv()
 #include <zircon/compiler.h>
+#include <zircon/process.h>
 #include <zircon/sanitizer.h>
 #include <zircon/syscalls.h>
 
index d6993f8..c1dfd76 100644 (file)
@@ -13,7 +13,8 @@
 
 #if SCUDO_FUCHSIA
 
-#include <zircon/process.h>
+#include <stdint.h>
+#include <zircon/types.h>
 
 namespace scudo {