summaryrefslogtreecommitdiff
path: root/lib/termcap/tparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/termcap/tparam.c')
-rw-r--r--lib/termcap/tparam.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/termcap/tparam.c b/lib/termcap/tparam.c
index 1c83f04..644042d 100644
--- a/lib/termcap/tparam.c
+++ b/lib/termcap/tparam.c
@@ -27,6 +27,14 @@ extern char *malloc ();
extern char *realloc ();
#endif
+#if defined (HAVE_STRING_H)
+#include <string.h>
+#endif
+
+#if !defined (HAVE_BCOPY) && (defined (HAVE_STRING_H) || defined (STDC_HEADERS))
+# define bcopy(s, d, n) memcpy ((d), (s), (n))
+#endif
+
#else /* not HAVE_CONFIG_H */
#if defined(HAVE_STRING_H) || defined(STDC_HEADERS)