summaryrefslogtreecommitdiff
path: root/src/libstddjb/localtmn_fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/localtmn_fmt.c')
-rw-r--r--src/libstddjb/localtmn_fmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/localtmn_fmt.c b/src/libstddjb/localtmn_fmt.c
index 79a869d..b47911d 100644
--- a/src/libstddjb/localtmn_fmt.c
+++ b/src/libstddjb/localtmn_fmt.c
@@ -1,9 +1,10 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/uint32.h>
#include <skalibs/djbtime.h>
-unsigned int localtmn_fmt (char *s, localtmn_t const *l)
+size_t localtmn_fmt (char *s, localtmn_t const *l)
{
char *p = s ;
p += localtm_fmt(p, &l->tm) ; *p++ = '.' ;