diff mbox

[PUSHED,OBV] Include <array> to declare std::array<>.

Message ID 20171115193950.36568-2-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Nov. 15, 2017, 7:39 p.m. UTC
gdb/ChangeLog:

	* symtab.h: Include <array>.
---
 gdb/ChangeLog | 4 ++++
 gdb/symtab.h  | 1 +
 2 files changed, 5 insertions(+)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85fd1420fa..e86f542aec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@ 
 2017-11-15  John Baldwin  <jhb@FreeBSD.org>
 
+	* symtab.h: Include <array>.
+
+2017-11-15  John Baldwin  <jhb@FreeBSD.org>
+
 	* bsd-kvm.c (bsd_kvm_cmd): Constify 'arg'.
 	(bsd_kvm_proc_cmd): Likewise.
 
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 7b8b5cc640..e419d8c734 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -20,6 +20,7 @@ 
 #if !defined (SYMTAB_H)
 #define SYMTAB_H 1
 
+#include <array>
 #include <vector>
 #include <string>
 #include "gdb_vecs.h"