diff options
author | mm <mm@FreeBSD.org> | 2011-02-01 23:12:13 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-02-01 23:12:13 +0000 |
commit | a9d332367db4bae242b079bcf8a841396dbb0b89 (patch) | |
tree | 2b61a8deb68cf12d38e31f6b4ebb33701e097046 /sys/cddl/compat/opensolaris | |
parent | 705cc0b145b0eacf960f8e7ca6ff9c602bc1af3e (diff) | |
download | FreeBSD-src-a9d332367db4bae242b079bcf8a841396dbb0b89.zip FreeBSD-src-a9d332367db4bae242b079bcf8a841396dbb0b89.tar.gz |
Recommit r218169, enclosing with #ifdef _KERNEL
This change is sufficient for the ZFS kernel module.
Discussed with: pjd
MFC after: 1 week
Diffstat (limited to 'sys/cddl/compat/opensolaris')
-rw-r--r-- | sys/cddl/compat/opensolaris/sys/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/types.h b/sys/cddl/compat/opensolaris/sys/types.h index 069ad45..aeec27a 100644 --- a/sys/cddl/compat/opensolaris/sys/types.h +++ b/sys/cddl/compat/opensolaris/sys/types.h @@ -34,6 +34,12 @@ */ #include <sys/stdint.h> + +#ifdef _KERNEL +typedef int64_t clock_t; +#define _CLOCK_T_DECLARED +#endif + #include_next <sys/types.h> #define MAXNAMELEN 256 |