summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/multiarch/memset.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-32/multiarch/memset.c')
-rw-r--r--sysdeps/s390/s390-32/multiarch/memset.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/s390/s390-32/multiarch/memset.c b/sysdeps/s390/s390-32/multiarch/memset.c
index 89b8102f2a..84ddedaf04 100644
--- a/sysdeps/s390/s390-32/multiarch/memset.c
+++ b/sysdeps/s390/s390-32/multiarch/memset.c
@@ -17,7 +17,10 @@
    <http://www.gnu.org/licenses/>.  */
 
 #if IS_IN (libc)
+# define memset __redirect_memset
+# include <string.h>
+# undef memset
 # include <ifunc-resolve.h>
 
-s390_libc_ifunc (memset)
+s390_libc_ifunc (__redirect_memset, __memset, memset)
 #endif