aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-07-15 09:16:59 +0200
committerTom Rini2023-07-25 12:44:46 -0400
commit17335a81c58f87884aadb77271a28ffdaa140851 (patch)
treeb7e3570bc31891a063b3a9f5cbf87400a749eafc /include/linux
parentb378fdd1ff13bd6df9814a237e741fe2e9bdf7cb (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index baa2c491ea5..9df930afd13 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -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