summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-07-23 15:17:18 +0000
committerDJ Delorie <dj@redhat.com>2005-07-23 15:17:18 +0000
commit55060c0b1672c66c4a29038a6f6c4edab4061a93 (patch)
treef3831f18be5c20049b5ca4de0e6d7e974524b7fa /libiberty
parentdbb467de43ec0192c2b67f50d1d5039bed7df947 (diff)
downloadbinutils-55060c0b1672c66c4a29038a6f6c4edab4061a93.tar.gz
binutils-55060c0b1672c66c4a29038a6f6c4edab4061a93.tar.bz2
binutils-55060c0b1672c66c4a29038a6f6c4edab4061a93.zip
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/getopt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 2ab94a2cc22..589afe76631 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * getopt.c: Include ansidecl.h before system headers.
+
2005-07-22 Ben Elliston <bje@gnu.org>
* getopt.c: Include "ansidecl.h".
diff --git a/libiberty/getopt.c b/libiberty/getopt.c
index 848c183f34f..d9c3532ce11 100644
--- a/libiberty/getopt.c
+++ b/libiberty/getopt.c
@@ -42,8 +42,8 @@
# endif
#endif
-#include <stdio.h>
#include "ansidecl.h"
+#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C