diff mbox

[15/36] Don't forward declare enum target_hw_bp_type

Message ID 1423524046-20605-16-git-send-email-palves@redhat.com
State New
Headers show

Commit Message

Pedro Alves Feb. 9, 2015, 11:20 p.m. UTC
Can't do that in C++.

2015-02-09  Pedro Alves  <palves@redhat.com>

	* nat/x86-dregs.h (enum target_hw_bp_type): Remove forward
	declaration.
	Include break-common.h.
---
 gdb/nat/x86-dregs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/gdb/nat/x86-dregs.h b/gdb/nat/x86-dregs.h
index ea82e62..a2b9926 100644
--- a/gdb/nat/x86-dregs.h
+++ b/gdb/nat/x86-dregs.h
@@ -32,8 +32,7 @@ 
 #ifndef X86_DREGS_H
 #define X86_DREGS_H 1
 
-/* Forward declaration.  */
-enum target_hw_bp_type;
+#include "break-common.h" /* target_hw_bp_type */
 
 /* Low-level function vector.  */