diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-11 14:25:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-11 14:25:30 +0000 |
commit | 208a4923edd990535a9bbf73bf39a8609771aec3 (patch) | |
tree | 03814f8704619ced31086f6b9e5bd345889fab33 /binutils/sysdep.h | |
parent | bde24c0a34fd79fb9ee6c7a355a46917cd866d26 (diff) | |
download | binutils-208a4923edd990535a9bbf73bf39a8609771aec3.zip binutils-208a4923edd990535a9bbf73bf39a8609771aec3.tar.gz binutils-208a4923edd990535a9bbf73bf39a8609771aec3.tar.bz2 |
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.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r-- | binutils/sysdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h index 0e1d502..5164e79 100644 --- a/binutils/sysdep.h +++ b/binutils/sysdep.h @@ -46,6 +46,10 @@ extern int errno; #include <unistd.h> #endif +#ifdef STRING_WITH_STRINGS +#include <string.h> +#include <strings.h> +#else #ifdef HAVE_STRING_H #include <string.h> #else @@ -56,6 +60,7 @@ extern char *strchr (); extern char *strrchr (); #endif #endif +#endif #ifdef HAVE_STDLIB_H #include <stdlib.h> |