summaryrefslogtreecommitdiffstats
path: root/protos.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-06-08 18:30:42 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-06-08 18:30:42 +0000
commit9b47f0be31e3ca3c48146893048efefdb22aaf75 (patch)
treeaefb4a2eb5c88bfe90f4d68306ec7638f2c1a7d4 /protos.h
parent8d759499d955cbe63ba49103cf798dfc9460d247 (diff)
Portability patches for SunOS 4.1. From Lars Hecking.
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);