svn commit: r218180 - head/sys/cddl/compat/opensolaris/sys
Martin Matuska
mm at FreeBSD.org
Tue Feb 1 23:12:14 UTC 2011
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
More information about the svn-src-head
mailing list