aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-09-04 15:58:38 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2017-09-04 15:58:38 -0700
commit31cf148787509fcf33bc6adb05bbf16bee48835d (patch)
treea217762768234a206c6d447a214fdf4a68f2d8cd /gdb
parent5b9f8a7c6e3873f97365569f50883a866b0a984a (diff)
downloadgdb-31cf148787509fcf33bc6adb05bbf16bee48835d.zip
gdb-31cf148787509fcf33bc6adb05bbf16bee48835d.tar.gz
gdb-31cf148787509fcf33bc6adb05bbf16bee48835d.tar.bz2
Explicitly include <array> for std::array<>.
gdb/ChangeLog: * unittests/array-view-selftests.c: Add include of <array>.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/unittests/array-view-selftests.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index abded2c..cef374a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-04 John Baldwin <jhb@FreeBSD.org>
+ * unittests/array-view-selftests.c: Add include of <array>.
+
+2017-09-04 John Baldwin <jhb@FreeBSD.org>
+
* spu-tdep.c (flush_ea_cache): Add missing argument to
call_function_by_hand.
diff --git a/gdb/unittests/array-view-selftests.c b/gdb/unittests/array-view-selftests.c
index c4c95bc..e5c0043 100644
--- a/gdb/unittests/array-view-selftests.c
+++ b/gdb/unittests/array-view-selftests.c
@@ -20,6 +20,7 @@
#include "defs.h"
#include "selftest.h"
#include "common/array-view.h"
+#include <array>
namespace selftests {
namespace array_view_tests {