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:
Christopher Di Bella 2022-07-20 06:01:20 +00:00 committed by Simon Marchi
parent e0c01ce66d
commit b0cf0a5b9d

View File

@ -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"