summaryrefslogtreecommitdiff
path: root/opcodes/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/sysdep.h')
-rw-r--r--opcodes/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h
index 5d6ddca4784..57ba282ad85 100644
--- a/opcodes/sysdep.h
+++ b/opcodes/sysdep.h
@@ -42,3 +42,7 @@
#include <strings.h>
#endif
#endif
+
+#if !HAVE_DECL_STPCPY
+extern char *stpcpy (char *__dest, const char *__src);
+#endif