From e46f30cc5497c16ccbf8489a6ef880283703603c Mon Sep 17 00:00:00 2001 From: Adam Kallai Date: Thu, 2 Jul 2020 17:09:16 +0200 Subject: [PATCH] fix: include missing header file Include the header from base/ where NOTREACHED is defined. This fixes a build failure on Windows on Arm. The patch was originally created by Richard Townsend . Bug: 1100363 Change-Id: Ic97f7c217f22e51f1d4c9bd87ae434e263975c6d Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2279091 Commit-Queue: Mark Mentovai Reviewed-by: Mark Mentovai --- snapshot/win/system_snapshot_win.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snapshot/win/system_snapshot_win.cc b/snapshot/win/system_snapshot_win.cc index 88cbc800..778892c5 100644 --- a/snapshot/win/system_snapshot_win.cc +++ b/snapshot/win/system_snapshot_win.cc @@ -23,7 +23,9 @@ #include #include +#include "base/check_op.h" #include "base/logging.h" +#include "base/notreached.h" #include "base/numerics/safe_conversions.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h"