diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-16 14:26:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-16 14:26:46 +0000 |
commit | 691bf19c4ea5b2f5d615c4116649daf32f81cc7d (patch) | |
tree | 2d42f0d1967062b125b79665fff42824222052ad /binutils/syslex.l | |
parent | 8b127cbcc36cb65ef13eb756d02fe84aa120effb (diff) | |
download | gdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.zip gdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.tar.gz gdb-691bf19c4ea5b2f5d615c4116649daf32f81cc7d.tar.bz2 |
PR binutils/13558
* bfd/aout-cris.c: Include sysdep.h before bfd.h.
* bfd/aout-ns32k.c: Likewise.
* bfd/aout-sparcle.c: Likewise.
* bfd/aout0.c: Likewise.
* bfd/bfd-in2.h: Likewise.
* bfd/coff-stgo32.c: Likewise.
* bfd/cpu-lm32.c: Likewise.
* bfd/cpu-microblaze.c: Likewise.
* bfd/cpu-score.c: Likewise.
* bfd/cpu-tilegx.c: Likewise.
* bfd/cpu-tilepro.c: Likewise.
* bfd/elf32-lm32.c: Likewise.
* bfd/elf32-microblaze.c: Likewise.
* bfd/elf32-score7.c: Likewise.
* bfd/elf32-tilepro.c: Likewise.
* bfd/elfxx-tilegx.c: Likewise.
* bfd/mach-o.h: Likewise.
* bfd/nlm32-ppc.c: Likewise.
* bfd/ns32knetbsd.c: Likewise.
* bfd/pef.h: Likewise.
* bfd/plugin.c: Likewise.
* bfd/stab-syms.c: Likewise.
* bfd/sunos.c: Likewise.
* bfd/syms.c: Likewise.
* bfd/xsym.h: Likewise.
* Makefile.am (CFILES): Add syslex_wrap.c.
(sysinfo): Depend upon syslex_wrap.o.
(syslex_wrap.o): New rule.
(syslex.o): Delete rule.
* syslex_wrap.c: New file.
* Makefile.in: Regenerate.
Diffstat (limited to 'binutils/syslex.l')
-rw-r--r-- | binutils/syslex.l | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/syslex.l b/binutils/syslex.l index abfa678..14aee73 100644 --- a/binutils/syslex.l +++ b/binutils/syslex.l @@ -1,7 +1,7 @@ %option noinput nounput %{ -/* Copyright 2001, 2003, 2005, 2007, 2011 Free Software Foundation, Inc. +/* Copyright 2001, 2003, 2005, 2007, 2011, 2012 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -20,7 +20,8 @@ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#include "config.h" +/* Note: config.h is #included via syslex_wrap.c. */ + #ifdef HAVE_STRING_H #include <string.h> #else @@ -28,6 +29,7 @@ #include <strings.h> #endif #endif + #include "sysinfo.h" #ifndef YY_NO_UNPUT |