summaryrefslogtreecommitdiff
path: root/lib/libc/string/strtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strtok.c')
-rw-r--r--lib/libc/string/strtok.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/string/strtok.c b/lib/libc/string/strtok.c
index 918765b1..a2cbb417 100644
--- a/lib/libc/string/strtok.c
+++ b/lib/libc/string/strtok.c
@@ -1,4 +1,6 @@
-#include <string.h> // for NULL, strchr, strtok
+#include "stddef.h" // for NULL
+
+#include <string.h> // for strchr, strtok
char *strtok(char *restrict s, const char *restrict sep)
{