aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.h
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2013-06-26 17:22:52 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2013-06-26 17:22:52 +0000
commit74e5a34656bca58b23274307778613f14bb77bbd (patch)
tree11b056807741e9a3f2800848212d53d311fc935e /gdb/ax-gdb.h
parent92dcb9ffb9b70efdf5e986244205d3bb444193c5 (diff)
downloadgdb-74e5a34656bca58b23274307778613f14bb77bbd.zip
gdb-74e5a34656bca58b23274307778613f14bb77bbd.tar.gz
gdb-74e5a34656bca58b23274307778613f14bb77bbd.tar.bz2
I found this issue when I was debugging something else on IA-64. Both
ax-gdb.h and parser-defs.h could be made more self-contained by forward declaring types or including the necessary header files. This commit does this. 2013-06-26 Sergio Durigan Junior <sergiodj@redhat.com> * ax-gdb.h (union exp_element): Forward declare. * parser-defs.h: Include expression.h.
Diffstat (limited to 'gdb/ax-gdb.h')
-rw-r--r--gdb/ax-gdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index 65e703e..a512cb5 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -20,6 +20,7 @@
#define AX_GDB_H
struct expression;
+union exp_element;
/* Types and enums */