Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2011 23:12:13 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218180 - head/sys/cddl/compat/opensolaris/sys
Message-ID:  <201102012312.p11NCDHA088366@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102012312.p11NCDHA088366>