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