aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
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/unittests
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/unittests')
-rw-r--r--gdb/unittests/array-view-selftests.c1
1 files changed, 1 insertions, 0 deletions
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 {