diff options
Diffstat (limited to 'src/libstddjb/bitarray_testandpoke.c')
-rw-r--r-- | src/libstddjb/bitarray_testandpoke.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/bitarray_testandpoke.c b/src/libstddjb/bitarray_testandpoke.c index 5075f1d..5b13b7a 100644 --- a/src/libstddjb/bitarray_testandpoke.c +++ b/src/libstddjb/bitarray_testandpoke.c @@ -1,8 +1,9 @@ /* ISC license. */ +#include <sys/types.h> #include <skalibs/bitarray.h> -int bitarray_testandpoke (register unsigned char *s, register unsigned int n, register int h) +int bitarray_testandpoke (register unsigned char *s, register size_t n, register int h) { register unsigned char mask = 1 << (n & 7) ; register unsigned char c = s[n>>3] ; |