aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/time.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2018-06-07 11:41:42 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2018-06-07 11:41:42 +0000
commitd150e1528566088c08401861cd60a43baf5cfa3c (patch)
tree29683184e082e89c0b0c7df013672b88a409d303 /sys/compat/linuxkpi/common/include/linux/time.h
parenta041e75a349628d8b3605ac8b4155bfc21004feb (diff)
downloadsrc-d150e1528566088c08401861cd60a43baf5cfa3c.tar.gz
src-d150e1528566088c08401861cd60a43baf5cfa3c.zip
Wrap timespec64 into timespec in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
Notes
Notes: svn path=/head/; revision=334777
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/time.h')
-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 b3af28864c04..9f69e95f6bf5 100644
--- a/sys/compat/linuxkpi/common/include/linux/time.h
+++ b/sys/compat/linuxkpi/common/include/linux/time.h
@@ -35,6 +35,8 @@
#define USEC_PER_MSEC 1000L
#define USEC_PER_SEC 1000000L
+#define timespec64 timespec
+
#include <sys/time.h>
#include <sys/stdint.h>