Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 10:38:31 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ff7f93814c37 - stable/14 - umtxvar.h: Add missing include
Message-ID:  <202402271038.41RAcVZC063896@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by olce:

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

commit ff7f93814c37c17c2440d7d6cb0cccc36084786e
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2024-02-08 20:11:17 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2024-02-27 10:37:08 +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
    
    (cherry picked from commit bcaa0b4c2bab2866d5ee11c9eb8900a70bdb21e1)
    
    Approved by:        emaste (mentor)
---
 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?202402271038.41RAcVZC063896>