diff --git a/include/spl/sys/time.h b/include/spl/sys/time.h index 14d3ec2c91..37f5e35df2 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) {