mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* mipsread.c: Undo ill effects from including <strings.h>,
which #defines index to be strchr. Unfortunately, index is a member of a symbol table structure that can't be changed. * mipsread.c: tm-mips.h includes coff/symconst.h and coff/sym.h, remove redundant #include's.
This commit is contained in:
@@ -69,9 +69,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include <sys/stat.h>
|
||||
#include <strings.h>
|
||||
|
||||
/* Undo brain-damage in some <strings.h> that '#define index strchr'.
|
||||
Note that tm-mips.h includes coff/sym.h, which has a structure with a
|
||||
member named 'index'. */
|
||||
#undef index
|
||||
|
||||
#include "coff/mips.h" /* COFF-like aspects of ecoff files */
|
||||
#include "coff/sym.h" /* Symbol structures in ecoff files */
|
||||
#include "coff/symconst.h" /* Manifest constants in ecoff sym structures */
|
||||
#include "coff/ecoff-ext.h" /* External forms of ecoff sym structures */
|
||||
|
||||
#include "libaout.h" /* FIXME Secret internal BFD stuff for a.out */
|
||||
|
||||
Reference in New Issue
Block a user