summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strcpy.c')
-rw-r--r--lib/libc/string/strcpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c
index 8e1dab69..eef2a5e4 100644
--- a/lib/libc/string/strcpy.c
+++ b/lib/libc/string/strcpy.c
@@ -1,3 +1,5 @@
+#include <string.h> // for strcpy
+
char *strcpy(char *restrict s1, const char *restrict s2)
{
char *p = s1;