Recommit r218169, enclosing with #ifdef _KERNEL

This change is sufficient for the ZFS kernel module.

Discussed with:	pjd
MFC after:	1 week
This commit is contained in:
Martin Matuska 2011-02-01 23:12:13 +00:00
parent 41ea72bd1d
commit 5c92680fa9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218180

View File

@ -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