git: 401d0922a4bf - main - LinuxKPI: add typedef for clockid_t

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 14 Sep 2026 19:48:08 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=401d0922a4bfcf40d3ae1866a0d90f955264def0

commit 401d0922a4bfcf40d3ae1866a0d90f955264def0
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-14 19:05:59 +0000

    LinuxKPI: add typedef for clockid_t
    
    Needed by a wireless driver (not really using it) to compile.
    
    MFC after:      3 days
    Reviewed by:    dumbbell
    Differential Revision: https://reviews.freebsd.org/D58877
---
 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 {