aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-23 14:57:03 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-23 14:57:03 +0000
commit3f4ccd4448ec86e848260e321e2cc2b94fb9ee51 (patch)
treed7b69644f801e71c83d0e07483ef94a71ec48050 /libiberty
parentb7efe75760faed14601b0ad2d79e1251f3a9a19f (diff)
* getopt.c: Include ansidecl.h before system headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102308 138bc75d-0d04-0410-961f-82ee72b054a4
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