From c161459d7e94d7ef5840ba90aa26a4d5f955c976 Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Sun, 3 Jul 2022 08:33:37 -0700 Subject: [PATCH] dwarf2reader: include On CrOS, a breakpad update is breaking: ``` google-breakpad-2022.07.03.054510-r210: no member named 'sort' in namespace 'std' google-breakpad-2022.07.03.054510-r210: std::sort(abbrevs_->begin(), abbrevs_->end(), google-breakpad-2022.07.03.054510-r210: ~~~~~^ ``` Looks like we're missing the include for `sort`. Bug: 235999011 Change-Id: I917389c12b370357fd1fc7cb08af0b9d7f315c84 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3741510 Reviewed-by: Mike Frysinger --- src/common/dwarf/dwarf2reader.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/dwarf/dwarf2reader.cc b/src/common/dwarf/dwarf2reader.cc index 11854b4b..6bd2614b 100644 --- a/src/common/dwarf/dwarf2reader.cc +++ b/src/common/dwarf/dwarf2reader.cc @@ -37,6 +37,7 @@ #include #include +#include #include #include #include