aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2023-04-04 08:27:04 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2023-04-04 08:48:27 +0000
commit3f39ff24201e8c9551f0b8577d5e991c20ef38f5 (patch)
treefe14a78db5073b48dd90ed7c1cb374fc10e5e5e3
parentf262b06a57b03a2025bdc0ce628514cd68af73db (diff)
downloadsrc-3f39ff24201e8c9551f0b8577d5e991c20ef38f5.tar.gz
src-3f39ff24201e8c9551f0b8577d5e991c20ef38f5.zip
linuxkpi: Include linux/math64.h in linux/time.h
It's done like this in linux too. Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r--sys/compat/linuxkpi/common/include/linux/time.h2
1 files changed, 2 insertions, 0 deletions
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)
{