aboutsummaryrefslogtreecommitdiff
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
parent8c9bfee312ac693df8f1e91d5709c25d38cbd9db (diff)
downloadfsf-binutils-gdb-a686510408c816f284ad09e29def3601b9e007c0.zip
fsf-binutils-gdb-a686510408c816f284ad09e29def3601b9e007c0.tar.gz
fsf-binutils-gdb-a686510408c816f284ad09e29def3601b9e007c0.tar.bz2
* expression.h: Move include of value.h until after declaration of
enum exp_opcode.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/expression.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2a41060..37e00ab 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 14 11:46:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * expression.h: Move include of value.h until after declaration of
+ enum exp_opcode.
+
Sun Feb 12 13:47:30 1995 Stan Shebs <shebs@andros.cygnus.com>
* remote-e7000.c: Comprehensive cleanup; removal of dead code,
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 *));