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 abded2c..cef374a 100644 (file)
@@ -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.
 
index c4c95bc..e5c0043 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 {