summary refs log tree commit diff
path: root/intl/finddomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index dc215ad126..1109c5ebc0 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -21,8 +21,6 @@
 # include <config.h>
 #endif
 
-#include <ctype.h>
-#include <errno.h>
 #include <stdio.h>
 #include <sys/types.h>
 
@@ -41,7 +39,7 @@ void free ();
 #else
 # include <strings.h>
 # ifndef memcpy
-#  define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num)
+#  define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst))
 # endif
 #endif