about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/memcpy.c2
-rw-r--r--sysdeps/generic/memset.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/memcpy.c b/sysdeps/generic/memcpy.c
index 05fa043fa5..7e6c72c7ae 100644
--- a/sysdeps/generic/memcpy.c
+++ b/sysdeps/generic/memcpy.c
@@ -23,6 +23,8 @@
 #include <memcopy.h>
 #include <pagecopy.h>
 
+#undef memcpy
+
 void *
 memcpy (dstpp, srcpp, len)
      void *dstpp;
diff --git a/sysdeps/generic/memset.c b/sysdeps/generic/memset.c
index 7aeac0abec..1369698652 100644
--- a/sysdeps/generic/memset.c
+++ b/sysdeps/generic/memset.c
@@ -19,6 +19,8 @@
 #include <string.h>
 #include <memcopy.h>
 
+#undef memset
+
 void *
 memset (dstpp, c, len)
      void *dstpp;