diff options
| author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-04-13 19:46:01 +0000 |
|---|---|---|
| committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2004-04-13 19:46:01 +0000 |
| commit | 80790b050f1c9f09d375d655714174ddf7f10d00 (patch) | |
| tree | 0cabb070a827545ecc78d31535e508ce9652e5a4 /libiberty/strerror.c | |
| parent | 611f62ad53375c732556c1450b1578ed16aa1fb2 (diff) | |
| download | gcc-80790b050f1c9f09d375d655714174ddf7f10d00.zip gcc-80790b050f1c9f09d375d655714174ddf7f10d00.tar.gz gcc-80790b050f1c9f09d375d655714174ddf7f10d00.tar.bz2 | |
strerror.c: Include config.h...
* strerror.c: Include config.h, and redefine sys_nerr and
sys_errlist, before including ansidecl.h and libiberty.h.
From-SVN: r80650
Diffstat (limited to 'libiberty/strerror.c')
| -rw-r--r-- | libiberty/strerror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/strerror.c b/libiberty/strerror.c index 83a5992..c0edb47 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> |
