summaryrefslogtreecommitdiff
path: root/src/libstddjb/bufalloc_getlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/bufalloc_getlen.c')
-rw-r--r--src/libstddjb/bufalloc_getlen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/bufalloc_getlen.c b/src/libstddjb/bufalloc_getlen.c
index 696e41d..600e2ab 100644
--- a/src/libstddjb/bufalloc_getlen.c
+++ b/src/libstddjb/bufalloc_getlen.c
@@ -1,8 +1,9 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/bufalloc.h>
-unsigned int bufalloc_getlen (bufalloc const *ba)
+size_t bufalloc_getlen (bufalloc const *ba)
{
return bufalloc_len(ba) ;
}