diff --git a/zfs/lib/libspl/include/sys/time.h b/zfs/lib/libspl/include/sys/time.h index b0b8dac959..a61dbd14ba 100644 --- a/zfs/lib/libspl/include/sys/time.h +++ b/zfs/lib/libspl/include/sys/time.h @@ -27,11 +27,8 @@ #ifndef _SOL_SYS_TIME_H #define _SOL_SYS_TIME_H -#include #include_next - -typedef longlong_t hrtime_t; -typedef struct timespec timestruc_t; +#include #ifndef NANOSEC #define NANOSEC 1000000000 diff --git a/zfs/lib/libspl/include/sys/types.h b/zfs/lib/libspl/include/sys/types.h index 2eddc825ea..25c3dcdd46 100644 --- a/zfs/lib/libspl/include/sys/types.h +++ b/zfs/lib/libspl/include/sys/types.h @@ -87,4 +87,7 @@ typedef union { } lloff_t; #endif +typedef longlong_t hrtime_t; +typedef struct timespec timestruc_t; + #endif