mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
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: * `<iterator>`, to support `std::back_inserter` * `<utility>`, to support `std::move` and `std::swap` * `<vector>`, to support `std::vector` Change-Id: Iaeb15057c5fbb43217df77ce34d4e54446dbcf3d
This commit is contained in:
parent
e0c01ce66d
commit
b0cf0a5b9d
@ -40,6 +40,9 @@
|
||||
#include "cp-abi.h"
|
||||
#include "user-regs.h"
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include "completer.h"
|
||||
#include "gdbsupport/selftest.h"
|
||||
#include "gdbsupport/array-view.h"
|
||||
|
Loading…
Reference in New Issue
Block a user