aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-04 22:15:30 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-04 22:15:30 +0000
commitbe5cacdb6dbaabfac70cb4e1bafca270ef2c1cda (patch)
tree9d0e196146d08fc7bba1eb4135c772a66c652f48 /bfd/sysdep.h
parentc3b69c04b99d51262141583268a1fa3c4f015e04 (diff)
downloadgdb-be5cacdb6dbaabfac70cb4e1bafca270ef2c1cda.zip
gdb-be5cacdb6dbaabfac70cb4e1bafca270ef2c1cda.tar.gz
gdb-be5cacdb6dbaabfac70cb4e1bafca270ef2c1cda.tar.bz2
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Add AC_CHECK_DECLS(stpcpy). * configure: Regenerated. * config.in: Likewise. * sysdep.h (stpcpy): New.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index ef1e433..a9ea6b4 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -125,6 +125,10 @@ extern PTR malloc ();
extern PTR realloc ();
#endif
+#if !HAVE_DECL_STPCPY
+extern char *stpcpy (char *__dest, const char *__src);
+#endif
+
#if !HAVE_DECL_STRSTR
extern char *strstr ();
#endif