summaryrefslogtreecommitdiff
path: root/opcodes/sysdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-31 14:55:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-31 14:55:10 +0000
commitdabbade67e0b558a90c99f1c5173026a2c339ada (patch)
tree6a36d3a3e8f8d2265577bda9668a4d356d2be638 /opcodes/sysdep.h
parenta1438fce30be2e62cfcb2d798e46766c65b82316 (diff)
downloadbinutils-gdb-dabbade67e0b558a90c99f1c5173026a2c339ada.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 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