[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 <frousseau@google.com>
Commit-Queue: Jay Zhuang <jayzhuang@google.com>
This commit is contained in:
Jay Zhuang 2023-01-04 17:07:55 +08:00 committed by Crashpad LUCI CQ
parent 21035861b5
commit a0b4e88a9f

View File

@ -26,7 +26,11 @@
#include "client/annotation_list.h" #include "client/annotation_list.h"
#include "client/simple_string_dictionary.h" #include "client/simple_string_dictionary.h"
#include "snapshot/snapshot_constants.h" #include "snapshot/snapshot_constants.h"
#if BUILDFLAG(IS_FUCHSIA)
#include "util/fuchsia/traits.h"
#else
#include "util/linux/traits.h" #include "util/linux/traits.h"
#endif
namespace crashpad { namespace crashpad {