From f2af71ea96cd06282f469b3dc4ac50b8059f1843 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 21 Dec 2006 09:59:04 +0000 Subject: [PATCH] * dumper.cc: Include ansidecl.h before including bfd.h to woraround a problem with the order in which system include files are included. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/dumper.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 8137a6e1b..2070ca44d 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2006-12-21 Corinna Vinschen + + * dumper.cc: Include ansidecl.h before including bfd.h to woraround + a problem with the order in which system include files are included. + 2006-12-11 Christopher Faylor * dumper.cc: Add an include to accommodate new include/elf usage. diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc index da1de9536..01f761d72 100644 --- a/winsup/utils/dumper.cc +++ b/winsup/utils/dumper.cc @@ -1,6 +1,6 @@ /* dumper.cc - Copyright 1999, 2001, 2002, 2004 Red Hat Inc. + Copyright 1999, 2001, 2002, 2004, 2006 Red Hat Inc. Written by Egor Duda @@ -10,8 +10,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ -#include #include +#include #include #include #include