Author: mm Date: Tue Feb 1 23:12:13 2011 New Revision: 218180 URL: http://svn.freebsd.org/changeset/base/218180
Log: Recommit r218169, enclosing with #ifdef _KERNEL This change is sufficient for the ZFS kernel module. Discussed with: pjd MFC after: 1 week Modified: head/sys/cddl/compat/opensolaris/sys/types.h Modified: head/sys/cddl/compat/opensolaris/sys/types.h ============================================================================== --- head/sys/cddl/compat/opensolaris/sys/types.h Tue Feb 1 22:50:23 2011 (r218179) +++ head/sys/cddl/compat/opensolaris/sys/types.h Tue Feb 1 23:12:13 2011 (r218180) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"