diff options
Diffstat (limited to 'src/libstddjb/byte_in.c')
-rw-r--r-- | src/libstddjb/byte_in.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/byte_in.c b/src/libstddjb/byte_in.c index 60625c5..cb6e5bc 100644 --- a/src/libstddjb/byte_in.c +++ b/src/libstddjb/byte_in.c @@ -1,8 +1,9 @@ /* ISC license. */ +#include <sys/types.h> #include <skalibs/bytestr.h> -unsigned int byte_in (char const *s, register unsigned int n, register char const *sep, register unsigned int len) +size_t byte_in (char const *s, size_t n, char const *sep, size_t len) { register char const *t = s ; while (n--) |