summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/dumper.cc4
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 <corinna@vinschen.de>
+
+ * 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 <me@cgf.cx>
* 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 <deo@logos-m.ru>
@@ -10,8 +10,8 @@
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
-#include <bfd.h>
#include <ansidecl.h>
+#include <bfd.h>
#include <elf/common.h>
#include <elf/external.h>
#include <sys/procfs.h>