aboutsummaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-08-16 19:35:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-08-16 19:35:22 +0000
commit3e321448fa47e472f55e773cb6747f981cdf0dbf (patch)
treef79d6a02c370b4e0d15ef9d5b4406b74d064a95d /binutils/bucomm.h
parent65ada037fc96409c6e014ce1e6d982480c1f6bed (diff)
downloadgdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.zip
gdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.tar.gz
gdb-3e321448fa47e472f55e773cb6747f981cdf0dbf.tar.bz2
2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined. * configure.in (AC_GNU_SOURCE): Added. (AC_CHECK_DECLS): Add stpcpy. * configure: Regenerated. * config.in: Likewise.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r--binutils/bucomm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/bucomm.h b/binutils/bucomm.h
index 09dce10..0872e96 100644
--- a/binutils/bucomm.h
+++ b/binutils/bucomm.h
@@ -68,6 +68,10 @@ extern char *strrchr ();
#endif
#endif
+#if !HAVE_DECL_STPCPY
+extern char *stpcpy (char *, const char *);
+#endif
+
#if !HAVE_DECL_STRSTR
extern char *strstr ();
#endif