From a686510408c816f284ad09e29def3601b9e007c0 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 14 Feb 1995 20:01:30 +0000 Subject: [PATCH] * expression.h: Move include of value.h until after declaration of enum exp_opcode. --- gdb/ChangeLog | 5 +++++ gdb/expression.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2a41060f6b3..37e00abf172 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 * remote-e7000.c: Comprehensive cleanup; removal of dead code, diff --git a/gdb/expression.h b/gdb/expression.h index dd9667fb710..cac4dadb5cf 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 *)); -- 2.30.2