aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/objdump.c2
-rw-r--r--binutils/size.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0ebdc3a..d74d887 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-29 Daniel Jacobowitz <drow@mvista.com>
+
+ * objdump.c: Include "getopt.h" after "bucomm.h" so that
+ __GNU_LIBRARY__ will be defined.
+ * size.c: Likewise.
+
2002-01-27 Daniel Jacobowitz <drow@mvista.com>
* configure: Regenerated.
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 2b422b0..535e0cd 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -20,9 +20,9 @@ along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
-#include "getopt.h"
#include "progress.h"
#include "bucomm.h"
+#include "getopt.h"
#include "safe-ctype.h"
#include "dis-asm.h"
#include "libiberty.h"
diff --git a/binutils/size.c b/binutils/size.c
index 3293e44..3da7520 100644
--- a/binutils/size.c
+++ b/binutils/size.c
@@ -29,9 +29,9 @@
out of luck; there's no --compatibility or --pedantic option. */
#include "bfd.h"
-#include "getopt.h"
#include "bucomm.h"
#include "libiberty.h"
+#include "getopt.h"
#ifndef BSD_DEFAULT
#define BSD_DEFAULT 1