git: 8b51cd07f69e - main - LinuxKPI: define time64_t

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 27 Apr 2025 20:32:32 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b51cd07f69e9a5052f660d96a8feb7af4b387c1

commit 8b51cd07f69e9a5052f660d96a8feb7af4b387c1
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-04-24 11:11:35 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-04-27 19:03:42 +0000

    LinuxKPI: define time64_t
    
    Define time64_t to int64_t for all supported architectures
    unconditionally.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    imp, markj, emaste
    Differential Revision: https://reviews.freebsd.org/D50004
---
 sys/compat/linuxkpi/common/include/linux/time.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h
index 6c9a781d5e0e..ca77a20516ff 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -42,6 +42,8 @@
 
 #include <linux/math64.h>
 
+typedef int64_t time64_t;
+
 static inline struct timeval
 ns_to_timeval(const int64_t nsec)
 {