Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-12-21 12:59:04 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-12-21 12:59:04 +0300
commitf2af71ea96cd06282f469b3dc4ac50b8059f1843 (patch)
treeca506097a63ae865c11a39603d6b84f188756806 /winsup/utils
parent97b09fe1c55dc843fc0bb8a87491aed8b620f63d (diff)
* dumper.cc: Include ansidecl.h before including bfd.h to woraround
a problem with the order in which system include files are included.
Diffstat (limited to 'winsup/utils')
-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>