summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_getlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/buffer_getlen.c')
-rw-r--r--src/libstddjb/buffer_getlen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/buffer_getlen.c b/src/libstddjb/buffer_getlen.c
index 73289a7..47ff472 100644
--- a/src/libstddjb/buffer_getlen.c
+++ b/src/libstddjb/buffer_getlen.c
@@ -1,8 +1,9 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/buffer.h>
-unsigned int buffer_getlen (buffer const *b)
+size_t buffer_getlen (buffer const *b)
{
return buffer_len(b) ;
}