summaryrefslogtreecommitdiffstats
path: root/intl/finddomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index a1b2a2e..ba5c33e 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -39,11 +39,12 @@ void free ();
# include <string.h>
#else
# include <strings.h>
-#endif
-#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
+# ifndef memcpy
+# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num)
+# endif
#endif
#if defined HAVE_UNISTD_H || defined _LIBC