summaryrefslogtreecommitdiff
path: root/kernel/libc/string/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/libc/string/copy.c')
-rw-r--r--kernel/libc/string/copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/libc/string/copy.c b/kernel/libc/string/copy.c
index 4acbbf4..3ab5618 100644
--- a/kernel/libc/string/copy.c
+++ b/kernel/libc/string/copy.c
@@ -2,6 +2,7 @@
#include <kmalloc.h>
#include <stddef.h>
#include <string.h>
+#include <mmu.h>
char *copy_and_allocate_string(const char *s) {
size_t l = strlen(s) + 1;