summaryrefslogtreecommitdiffstats
path: root/intl/localealias.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 7aee6a8..e3eb5b8 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -58,11 +58,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
#include "gettext.h"