summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-07-23 15:17:18 +0000
committerDJ Delorie <dj@delorie.com>2005-07-23 15:17:18 +0000
commit0c91c76dca556ec39e2ac40e3c4445adb653f6e6 (patch)
tree14272d91c422d9d1ce3ff5fe821d622d31e7304c /libiberty
parentcddd9d63968145b242ec5725e2dc9e7d7c2354f0 (diff)
downloadgdb-0c91c76dca556ec39e2ac40e3c4445adb653f6e6.tar.gz
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