From: Christopher Di Bella Date: Wed, 20 Jul 2022 06:01:20 +0000 (+0000) Subject: gdb/value.c: add several headers to the include list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0cf0a5b9df3a5896524b066f234b5cf5a382b22;p=binutils-gdb.git gdb/value.c: add several headers to the include list 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: * ``, to support `std::back_inserter` * ``, to support `std::move` and `std::swap` * ``, to support `std::vector` Change-Id: Iaeb15057c5fbb43217df77ce34d4e54446dbcf3d --- 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"