From 208a4923edd990535a9bbf73bf39a8609771aec3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 May 2012 14:25:30 +0000 Subject: PR binutils/14028 * configure.in: Invoke ACX_HEADER_STRING. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: If STRINGS_WITH_STRING is defined then include both string.h and strings.h. --- opcodes/sysdep.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'opcodes/sysdep.h') diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h index 2ca39350675..91c53ca9c9f 100644 --- a/opcodes/sysdep.h +++ b/opcodes/sysdep.h @@ -1,5 +1,5 @@ /* Random host-dependent support code. - Copyright 1995, 1997, 2000, 2005, 2007 Free Software Foundation, Inc. + Copyright 1995, 1997, 2000, 2005, 2007, 2012 Free Software Foundation, Inc. Written by Ken Raeburn. This file is part of the GNU opcodes library. @@ -35,6 +35,10 @@ #include #endif +#ifdef STRING_WITH_STRINGS +#include +#include +#else #ifdef HAVE_STRING_H #include #else @@ -42,6 +46,7 @@ #include #endif #endif +#endif #if !HAVE_DECL_STPCPY extern char *stpcpy (char *__dest, const char *__src); -- cgit v1.2.1