git: e44083c958b5 - stable/15 - LinuxKPI: add typedef for clockid_t
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Sep 2026 14:40:24 UTC
The branch stable/15 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=e44083c958b56332b6c8389bef51f0d1ff4c5860
commit e44083c958b56332b6c8389bef51f0d1ff4c5860
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-08-16 21:30:43 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-09-19 09:34:10 +0000
LinuxKPI: add typedef for clockid_t
Needed by a wireless driver (not really using it) to compile.
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D58877
(cherry picked from commit 401d0922a4bfcf40d3ae1866a0d90f955264def0)
---
sys/compat/linuxkpi/common/include/linux/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/types.h b/sys/compat/linuxkpi/common/include/linux/types.h
index fcc455e5f731..62e0cc848abe 100644
--- a/sys/compat/linuxkpi/common/include/linux/types.h
+++ b/sys/compat/linuxkpi/common/include/linux/types.h
@@ -77,6 +77,8 @@ typedef unsigned long kernel_ulong_t;
typedef unsigned long irq_hw_number_t;
+typedef int clockid_t;
+
#ifndef LIST_HEAD_DEF
#define LIST_HEAD_DEF
struct list_head {