summaryrefslogtreecommitdiff
path: root/src/libstddjb/timestamp_fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/timestamp_fmt.c')
-rw-r--r--src/libstddjb/timestamp_fmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/timestamp_fmt.c b/src/libstddjb/timestamp_fmt.c
index 1956723..816e523 100644
--- a/src/libstddjb/timestamp_fmt.c
+++ b/src/libstddjb/timestamp_fmt.c
@@ -1,8 +1,9 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/tai.h>
-unsigned int timestamp_fmt (char *s, tain_t const *a)
+size_t timestamp_fmt (char *s, tain_t const *a)
{
*s = '@' ;
return 1 + tain_fmt(s+1, a) ;