From 3074d1060165f715fe5ab1c1bbdfe71ac75deef7 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 10 Dec 2008 15:57:02 -0800 Subject: [PATCH] Move some time types --- zfs/lib/libspl/include/sys/time.h | 5 +---- zfs/lib/libspl/include/sys/types.h | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) 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