summaryrefslogtreecommitdiff
path: root/src/libstddjb/string_quote_nodelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/string_quote_nodelim.c')
-rw-r--r--src/libstddjb/string_quote_nodelim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/string_quote_nodelim.c b/src/libstddjb/string_quote_nodelim.c
index dfe41ce..26b612f 100644
--- a/src/libstddjb/string_quote_nodelim.c
+++ b/src/libstddjb/string_quote_nodelim.c
@@ -1,9 +1,10 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/stralloc.h>
#include <skalibs/skamisc.h>
-int string_quote_nodelim (stralloc *sa, char const *s, unsigned int len)
+int string_quote_nodelim (stralloc *sa, char const *s, size_t len)
{
return string_quote_nodelim_mustquote(sa, s, len, "\"", 1) ;
}