summaryrefslogtreecommitdiff
path: root/src/libstddjb/tai_from_localtm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tai_from_localtm.c')
-rw-r--r--src/libstddjb/tai_from_localtm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/tai_from_localtm.c b/src/libstddjb/tai_from_localtm.c
index 1f43070..b372bf5 100644
--- a/src/libstddjb/tai_from_localtm.c
+++ b/src/libstddjb/tai_from_localtm.c
@@ -1,6 +1,5 @@
/* ISC license. */
-#include <sys/types.h>
#include <time.h>
#include <skalibs/uint64.h>
#include <skalibs/tai.h>
@@ -8,7 +7,7 @@
int tai_from_localtm (tai_t *t, struct tm const *l)
{
- uint64 u ;
+ uint64_t u ;
if (!ltm64_from_localtm(&u, l)) return 0 ;
return tai_from_ltm64(t, u) ;
}