summaryrefslogtreecommitdiffstats
path: root/protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'protos.h')
-rw-r--r--protos.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protos.h b/protos.h
index 8dcd1eda..0917222c 100644
--- a/protos.h
+++ b/protos.h
@@ -341,6 +341,10 @@ extern char *sys_errlist[];
#define strerror(x) ((x) > 0 && (x) < sys_nerr) ? sys_errlist[(x)] : 0
#endif /* !HAVE_STRERROR */
+#ifndef HAVE_MEMMOVE
+#define memmove(d,s,n) bcopy((s),(d),(n))
+#endif
+
/* AIX doesn't define these in any headers (sigh) */
int strcasecmp (const char *, const char *);
int strncasecmp (const char *, const char *, size_t);