Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2023 08:48:37 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3f39ff24201e - main - linuxkpi: Include linux/math64.h in linux/time.h
Message-ID:  <202304040848.3348mb0H039745@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

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

commit 3f39ff24201e8c9551f0b8577d5e991c20ef38f5
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-04-04 08:27:04 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-04-04 08:48:27 +0000

    linuxkpi: Include linux/math64.h in linux/time.h
    
    It's done like this in linux too.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/compat/linuxkpi/common/include/linux/time.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/time.h b/sys/compat/linuxkpi/common/include/linux/time.h
index 2b69ec46935c..a1c18d6879ca 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -42,6 +42,8 @@
 #include <sys/time.h>
 #include <sys/stdint.h>
 
+#include <linux/math64.h>
+
 static inline struct timeval
 ns_to_timeval(const int64_t nsec)
 {



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