--- a/include/options.h
+++ b/include/options.h
@@ -238,3 +238,9 @@
 #endif
 
 #endif /* PR_OPTIONS_H */
+
+#ifndef _LIBC
+#ifndef __mempcpy
+#define __mempcpy mempcpy
+#endif
+#endif