From 3123f102ff92755ae5c7a40cd386d17f890124b7 Mon Sep 17 00:00:00 2001 From: Takuto Ikuta Date: Fri, 4 Feb 2022 12:52:34 +0900 Subject: [PATCH] include memory header when using unique_ptr This is to fix build error on Windows. Bug: chromium:1294084 Change-Id: I8e6a2e46d53d6f5b02343b81cfaa078580a8326d Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3438886 Reviewed-by: Joshua Peraza --- src/common/windows/pdb_source_line_writer.h | 1 + src/common/windows/pe_util.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/common/windows/pdb_source_line_writer.h b/src/common/windows/pdb_source_line_writer.h index 091700a7..42bd94d9 100644 --- a/src/common/windows/pdb_source_line_writer.h +++ b/src/common/windows/pdb_source_line_writer.h @@ -36,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/src/common/windows/pe_util.cc b/src/common/windows/pe_util.cc index 9c94af05..dea9b911 100644 --- a/src/common/windows/pe_util.cc +++ b/src/common/windows/pe_util.cc @@ -35,6 +35,7 @@ #include #include +#include #include "common/windows/string_utils-inl.h" #include "common/windows/guid_string.h"