summaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-05-04 22:15:30 +0000
committerH.J. Lu <hjl@lucon.org>2005-05-04 22:15:30 +0000
commit932efe51e9cbcfbb21062a06f5b1dde0174bbc25 (patch)
tree49543d4f5bcecd5f9435c4976190a78df3261609 /bfd/sysdep.h
parent7b0f396d4bffcc84e5f83a79168a1df7dc22f55d (diff)
downloadbinutils-redhat-932efe51e9cbcfbb21062a06f5b1dde0174bbc25.tar.gz
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 ef1e4339fe..a9ea6b41c9 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