about summary refs log tree commit diff
path: root/sysdeps/generic/memccpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/memccpy.c')
-rw-r--r--sysdeps/generic/memccpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/memccpy.c b/sysdeps/generic/memccpy.c
index 8875abedd5..7c2d443863 100644
--- a/sysdeps/generic/memccpy.c
+++ b/sysdeps/generic/memccpy.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stddef.h>	/* For size_t and NULL.	*/
+#include <string.h>
 
 /*
  * Copy no more than N bytes of SRC to DEST, stopping when C is found.