summaryrefslogtreecommitdiffstats
path: root/include/spl
diff options
context:
space:
mode:
Diffstat (limited to 'include/spl')
-rw-r--r--include/spl/sys/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl/sys/time.h b/include/spl/sys/time.h
index 14d3ec2c9..37f5e35df 100644
--- a/include/spl/sys/time.h
+++ b/include/spl/sys/time.h
@@ -66,6 +66,9 @@ typedef struct timespec64 inode_timespec_t;
typedef struct timespec inode_timespec_t;
#endif
+/* Include for Lustre compatibility */
+#define timestruc_t inode_timespec_t
+
static inline void
gethrestime(inode_timespec_t *ts)
{