From a0b4e88a9f6fe37cd059417cf55dcc15d2953fa7 Mon Sep 17 00:00:00 2001 From: Jay Zhuang Date: Wed, 4 Jan 2023 17:07:55 +0800 Subject: [PATCH] [snapshot] Use Fuchsia specific header ... when compile target is Fuchsia Change-Id: Id77babbd3dffff26c75a52296ac91101780e4c33 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4132464 Reviewed-by: Francois Rousseau Commit-Queue: Jay Zhuang --- snapshot/crashpad_types/image_annotation_reader.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snapshot/crashpad_types/image_annotation_reader.cc b/snapshot/crashpad_types/image_annotation_reader.cc index fd90fbd7..ea9cb632 100644 --- a/snapshot/crashpad_types/image_annotation_reader.cc +++ b/snapshot/crashpad_types/image_annotation_reader.cc @@ -26,7 +26,11 @@ #include "client/annotation_list.h" #include "client/simple_string_dictionary.h" #include "snapshot/snapshot_constants.h" +#if BUILDFLAG(IS_FUCHSIA) +#include "util/fuchsia/traits.h" +#else #include "util/linux/traits.h" +#endif namespace crashpad {