From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1879) id 1F5CD3858D37; Wed, 20 Jul 2022 14:20:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F5CD3858D37 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Simon Marchi To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/value.c: add several headers to the include list X-Act-Checkin: binutils-gdb X-Git-Author: Christopher Di Bella X-Git-Refname: refs/heads/master X-Git-Oldrev: e0c01ce66d0215d87d1173003eb6104d3f62bcdf X-Git-Newrev: b0cf0a5b9df3a5896524b066f234b5cf5a382b22 Message-Id: <20220720142053.1F5CD3858D37@sourceware.org> Date: Wed, 20 Jul 2022 14:20:53 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2022 14:20:53 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db0cf0a5b9df3= a5896524b066f234b5cf5a382b22 commit b0cf0a5b9df3a5896524b066f234b5cf5a382b22 Author: Christopher Di Bella Date: Wed Jul 20 06:01:20 2022 +0000 gdb/value.c: add several headers to the include list =20 Building GDB currently fails to build with libc++, because libc++ is stricter about which headers "leak" entities they're not guaranteed to support. The following headers have been added: =20 * ``, to support `std::back_inserter` * ``, to support `std::move` and `std::swap` * ``, to support `std::vector` =20 Change-Id: Iaeb15057c5fbb43217df77ce34d4e54446dbcf3d Diff: --- gdb/value.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/value.c b/gdb/value.c index 022fca91a42..c9bec678d95 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -40,6 +40,9 @@ #include "cp-abi.h" #include "user-regs.h" #include +#include +#include +#include #include "completer.h" #include "gdbsupport/selftest.h" #include "gdbsupport/array-view.h"