common: define time_t as 64bit

To avoid the year 2038 problem time_t must be 64bit on all architectures.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt 2023-07-15 09:16:59 +02:00 committed by Tom Rini
parent b378fdd1ff
commit 17335a81c5

View File

@ -65,7 +65,7 @@ typedef __kernel_ptrdiff_t ptrdiff_t;
#ifndef _TIME_T
#define _TIME_T
typedef __kernel_time_t time_t;
typedef long long time_t;
#endif
#ifndef _CLOCK_T