34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
From 385f2b18ccde15f72a6e8aee4c960a5bc18481d7 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Geoffrey=20Le=20Gourri=C3=A9rec?=
|
||
|
<geoffrey.legourrierec@gmail.com>
|
||
|
Date: Tue, 26 Jan 2021 20:39:36 +0100
|
||
|
Subject: [PATCH] arch/sh: Add 64-bit time types from kernel
|
||
|
|
||
|
---
|
||
|
libc/sysdeps/linux/sh/bits/kernel_types.h | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/libc/sysdeps/linux/sh/bits/kernel_types.h b/libc/sysdeps/linux/sh/bits/kernel_types.h
|
||
|
index ac97261e6..90b2e66b6 100644
|
||
|
--- a/libc/sysdeps/linux/sh/bits/kernel_types.h
|
||
|
+++ b/libc/sysdeps/linux/sh/bits/kernel_types.h
|
||
|
@@ -21,6 +21,7 @@ typedef unsigned int __kernel_size_t;
|
||
|
typedef int __kernel_ssize_t;
|
||
|
typedef int __kernel_ptrdiff_t;
|
||
|
typedef long __kernel_time_t;
|
||
|
+typedef long long __kernel_time64_t;
|
||
|
typedef long __kernel_suseconds_t;
|
||
|
typedef long __kernel_clock_t;
|
||
|
typedef int __kernel_daddr_t;
|
||
|
@@ -33,6 +34,7 @@ typedef unsigned short __kernel_old_uid_t;
|
||
|
typedef unsigned short __kernel_old_gid_t;
|
||
|
typedef __kernel_dev_t __kernel_old_dev_t;
|
||
|
typedef long __kernel_long_t;
|
||
|
+typedef __kernel_long_t __kernel_old_time_t;
|
||
|
typedef unsigned long __kernel_ulong_t;
|
||
|
typedef long long __kernel_loff_t;
|
||
|
|
||
|
--
|
||
|
2.17.1
|
||
|
|