gdb/value.c: add several headers to the include list
authorChristopher Di Bella <cjdb@google.com>
Wed, 20 Jul 2022 06:01:20 +0000 (06:01 +0000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 20 Jul 2022 14:20:07 +0000 (10:20 -0400)
commitb0cf0a5b9df3a5896524b066f234b5cf5a382b22
tree2bdd257b76b1bd66685e5990a222dbc3bba87d54
parente0c01ce66d0215d87d1173003eb6104d3f62bcdf
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
gdb/value.c