summaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-13 19:46:01 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-13 19:46:01 +0000
commit4d0c11d1c253fff5de2ba9b786e8cf72a4ee61a8 (patch)
tree0cabb070a827545ecc78d31535e508ce9652e5a4 /libiberty/strerror.c
parent9ce62711edca9edc5f5eb6dc3500a42c6709efe6 (diff)
downloadgcc-4d0c11d1c253fff5de2ba9b786e8cf72a4ee61a8.tar.gz
* strerror.c: Include config.h, and redefine sys_nerr and
sys_errlist, before including ansidecl.h and libiberty.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/strerror.c')
-rw-r--r--libiberty/strerror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/strerror.c b/libiberty/strerror.c
index 83a5992b4dd..c0edb47e0c8 100644
--- a/libiberty/strerror.c
+++ b/libiberty/strerror.c
@@ -2,9 +2,6 @@
Written by Fred Fish. fnf@cygnus.com
This file is in the public domain. --Per Bothner. */
-#include "ansidecl.h"
-#include "libiberty.h"
-
#include "config.h"
#ifdef HAVE_SYS_ERRLIST
@@ -17,6 +14,9 @@
#define sys_errlist sys_errlist__
#endif
+#include "ansidecl.h"
+#include "libiberty.h"
+
#include <stdio.h>
#include <errno.h>