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
This commit is contained in:
Ian Lance Taylor 2004-04-13 19:46:01 +00:00 committed by Ian Lance Taylor
parent 611f62ad53
commit 80790b050f
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
* strerror.c: Include config.h, and redefine sys_nerr and
sys_errlist, before including ansidecl.h and libiberty.h.
2004-04-13 Jeff Law <law@redhat.com>
* hashtab.c (htab_remove_elt_with_hash): New function.

View file

@ -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>