[PATCH 05/40] command.h: Include scoped_restore_command.h

Pedro Alves
2017-06-02T12:29:09Z

This file depends on scoped_restore:

extern scoped_restore_tmpl<int> prevent_dont_repeat (void);

But doesn't include the corresponding header.

gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>

* command.h: Include "scoped_restore_command.h".
---
gdb/command.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/gdb/command.h b/gdb/command.h
index aa179e9..4a56a51 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -19,6 +19,7 @@
#define COMMAND_H 1

#include "gdb_vecs.h"
+#include "common/scoped_restore.h"

/* This file defines the public interface for any code wanting to
create commands. */
--
2.5.5