[PATCH] sim: make sure to include strsignal prototype
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Mar 2012 05:38:43 +0000 (05:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 24 Mar 2012 05:38:43 +0000 (05:38 +0000)
commit2232061b1ccf68bb1e46c95cab6f531831d72aa5
treef53b4af16dd91562b986a3daebb445099c2c88ba
parentad03ad841debc41c80b47d83c2496d939838a081
[PATCH] sim: make sure to include strsignal prototype

Before POSIX standardized strsignal(), old systems would hide the
prototype unless the normal extension defines were enabled.  So use
the AC_USE_SYSTEM_EXTENSIONS helper for that.

Then make sure we include string.h ourselves in nrun.c rather than
relying on implicit includes via other sim headers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
104 files changed:
sim/arm/ChangeLog
sim/arm/aclocal.m4
sim/arm/config.in
sim/arm/configure
sim/avr/ChangeLog
sim/avr/aclocal.m4
sim/avr/config.in
sim/avr/configure
sim/bfin/ChangeLog
sim/bfin/aclocal.m4
sim/bfin/config.in
sim/bfin/configure
sim/common/ChangeLog
sim/common/acinclude.m4
sim/common/aclocal.m4
sim/common/config.in
sim/common/configure
sim/common/nrun.c
sim/cr16/ChangeLog
sim/cr16/aclocal.m4
sim/cr16/config.in
sim/cr16/configure
sim/cris/ChangeLog
sim/cris/aclocal.m4
sim/cris/config.in
sim/cris/configure
sim/d10v/ChangeLog
sim/d10v/aclocal.m4
sim/d10v/config.in
sim/d10v/configure
sim/erc32/ChangeLog
sim/erc32/aclocal.m4
sim/erc32/config.in
sim/erc32/configure
sim/frv/ChangeLog
sim/frv/aclocal.m4
sim/frv/config.in
sim/frv/configure
sim/h8300/ChangeLog
sim/h8300/aclocal.m4
sim/h8300/config.in
sim/h8300/configure
sim/igen/ChangeLog
sim/igen/configure
sim/iq2000/ChangeLog
sim/iq2000/aclocal.m4
sim/iq2000/config.in
sim/iq2000/configure
sim/lm32/ChangeLog
sim/lm32/aclocal.m4
sim/lm32/config.in
sim/lm32/configure
sim/m32c/ChangeLog
sim/m32c/aclocal.m4
sim/m32c/config.in
sim/m32c/configure
sim/m32r/ChangeLog
sim/m32r/aclocal.m4
sim/m32r/config.in
sim/m32r/configure
sim/m68hc11/ChangeLog
sim/m68hc11/aclocal.m4
sim/m68hc11/config.in
sim/m68hc11/configure
sim/mcore/ChangeLog
sim/mcore/aclocal.m4
sim/mcore/config.in
sim/mcore/configure
sim/microblaze/ChangeLog
sim/microblaze/aclocal.m4
sim/microblaze/config.in
sim/microblaze/configure
sim/mips/ChangeLog
sim/mips/aclocal.m4
sim/mips/config.in
sim/mips/configure
sim/mn10300/ChangeLog
sim/mn10300/aclocal.m4
sim/mn10300/config.in
sim/mn10300/configure
sim/moxie/ChangeLog
sim/moxie/aclocal.m4
sim/moxie/config.in
sim/moxie/configure
sim/rl78/ChangeLog
sim/rl78/aclocal.m4
sim/rl78/config.in
sim/rl78/configure
sim/rx/ChangeLog
sim/rx/aclocal.m4
sim/rx/config.in
sim/rx/configure
sim/sh/ChangeLog
sim/sh/aclocal.m4
sim/sh/config.in
sim/sh/configure
sim/sh64/ChangeLog
sim/sh64/aclocal.m4
sim/sh64/config.in
sim/sh64/configure
sim/v850/ChangeLog
sim/v850/aclocal.m4
sim/v850/config.in
sim/v850/configure