added replacement memmove
[rsync/rsync.git] / lib / compat.c
index e6e0e64..3e66cc9 100644 (file)
@@ -50,3 +50,11 @@ pid_t waitpid(pid_t pid, int *statptr, int options)
 }
 #endif
 
+
+#ifndef HAVE_MEMMOVE
+void *memmove(void *dest, const void *src, size_t n)
+{
+       bcopy(src, dest, n);
+       return dest;
+}
+#endif