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