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
commit502d75d9120e9455e329974e6864150043f9db0f (patch)
treee784dbda93c4e98c169ed487f35f927df5e8b733 /bfd/sysdep.h
parent244fa444baab0e7cb9a22eb6e0fff96804e059bb (diff)
downloadgdb-502d75d9120e9455e329974e6864150043f9db0f.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 ef1e4339fef..a9ea6b41c94 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