From 8aceae7e500646eed9eac810c8945c31e352c789 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 5 Oct 2006 01:04:23 +0000 Subject: [PATCH] Reviewed and approved by Daniel Jacobowitz 2006-10-04 Fred Fish * vec.c: Include defs.h first. This pulls in config.h which can affect other includes. --- gdb/ChangeLog | 5 +++++ gdb/vec.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6bf6b3a88..7f0a0dc89a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-10-04 Fred Fish + + * vec.c: Include defs.h first. This pulls in config.h which can + affect other includes. + 2006-10-04 Joel Brobecker * somread.c (som_symtab_read): Avoid using alloca for potentially diff --git a/gdb/vec.c b/gdb/vec.c index 4f67e68bd5..d5a0929632 100644 --- a/gdb/vec.c +++ b/gdb/vec.c @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "vec.h" #include "defs.h" +#include "vec.h" struct vec_prefix {