Explicitly include <array> for std::array<>.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 4 Sep 2017 22:58:38 +0000 (15:58 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 4 Sep 2017 22:58:38 +0000 (15:58 -0700)
gdb/ChangeLog:

* unittests/array-view-selftests.c: Add include of <array>.

gdb/ChangeLog
gdb/unittests/array-view-selftests.c

index abded2cc4f14b81ae83539d3f1682fddee02112c..cef374ac6444c89cb76748d873a1fb9bec8bfce8 100644 (file)
@@ -1,3 +1,7 @@
+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
index c4c95bc7ec8426016ba66e24111365763413fa08..e5c0043f53b82d168832d47e4142e9027d966cf9 100644 (file)
@@ -20,6 +20,7 @@
 #include "defs.h"
 #include "selftest.h"
 #include "common/array-view.h"
+#include <array>
 
 namespace selftests {
 namespace array_view_tests {