git: 3f39ff24201e - main - linuxkpi: Include linux/math64.h in linux/time.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Apr 2023 08:48:37 UTC
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)
{