Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2024 16:42:14 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bcaa0b4c2bab - main - umtxvar.h: Add missing include
Message-ID:  <202402191642.41JGgE4u093201@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402191642.41JGgE4u093201>