git: bcaa0b4c2bab - main - umtxvar.h: Add missing include
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Feb 2024 16:42:14 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=bcaa0b4c2bab2866d5ee11c9eb8900a70bdb21e1
commit bcaa0b4c2bab2866d5ee11c9eb8900a70bdb21e1
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2024-02-08 20:11:17 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2024-02-19 16:41:34 +0000
umtxvar.h: Add missing include
Necessary to have the definition of 'struct timespec'.
No functional change.
Approved by: markj (mentor)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
---
sys/sys/umtxvar.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/sys/umtxvar.h b/sys/sys/umtxvar.h
index 216c7a3e2cd1..647ee2a4650c 100644
--- a/sys/sys/umtxvar.h
+++ b/sys/sys/umtxvar.h
@@ -32,6 +32,8 @@
#ifdef _KERNEL
+#include <sys/_timespec.h>
+
/*
* The umtx_key structure is used by both the Linux futex code and the
* umtx implementation to map userland addresses to unique keys.