aboutsummaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-14 20:01:30 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-14 20:01:30 +0000
commita686510408c816f284ad09e29def3601b9e007c0 (patch)
treea1338ccabb721d446fd6da9480498d31d1a2a1b6 /gdb/expression.h
parent8c9bfee312ac693df8f1e91d5709c25d38cbd9db (diff)
downloadgdb-a686510408c816f284ad09e29def3601b9e007c0.zip
gdb-a686510408c816f284ad09e29def3601b9e007c0.tar.gz
gdb-a686510408c816f284ad09e29def3601b9e007c0.tar.bz2
* expression.h: Move include of value.h until after declaration of
enum exp_opcode.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index dd9667f..cac4dad 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -20,8 +20,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#if !defined (EXPRESSION_H)
#define EXPRESSION_H 1
-#include "value.h"
-
#ifdef __STDC__
struct block; /* Forward declaration for prototypes */
#endif
@@ -321,6 +319,8 @@ struct expression
#define BYTES_TO_EXP_ELEM(bytes) \
(((bytes) + sizeof (union exp_element) - 1) / sizeof (union exp_element))
+#include "value.h"
+
/* From parse.c */
extern struct expression *parse_expression PARAMS ((char *));