From 28b53508aa4cd06933fa1bcbbaa791ad12ecbf51 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 28 Jan 2020 00:48:58 +0100 Subject: Set time_t type to 64bit In order to fix year 2038 limit in RTC driver * include/sys/types.h (time_t): Bump type to 64bit. * Makefile.am (clib_routines): Also allow __moddi3. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 11312a1e..d1968b85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -170,7 +170,7 @@ noinst_PROGRAMS += \ # This is the list of routines we decide is OK to steal from the C library. clib_routines := htonl htons ntohl ntohs \ udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \ - __divdi3 \ + __divdi3 __moddi3 \ __rel_iplt_start __rel_iplt_end \ __ffsdi2 ffs \ _START _start etext _edata end _end # actually ld magic, not libc. -- cgit v1.2.3