summaryrefslogtreecommitdiff
path: root/opcodes/sysdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2007-08-31 14:55:10 +0000
committerH.J. Lu <hjl@lucon.org>2007-08-31 14:55:10 +0000
commit5c9744f3befdeda5cf05b9325e3eda27ef12e3ec (patch)
tree1239f0923a787e564a4498df0407838cd34a91a3 /opcodes/sysdep.h
parent4a914365b458573562336f054837a5a3cd2252a4 (diff)
downloadbinutils-redhat-5c9744f3befdeda5cf05b9325e3eda27ef12e3ec.tar.gz
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * configure.in (AC_GNU_SOURCE): Added. (AC_PROG_CC): Moved before AC_GNU_SOURCE. (AC_CHECK_DECLS): Add stpcpy. * configure: Regenerated. * config.in: Likewise. * i386-dis.c: Include "sysdep.h" before "dis-asm.h". * sysdep.h (stpcpy): New.
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 5d6ddca478..57ba282ad8 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