--- src/sys/sys/jail.h 2006/05/20 02:42:13 1.7 +++ src/sys/sys/jail.h 2006/10/27 04:56:33 1.8 @@ -38,7 +38,12 @@ int jail_attach(int); #else /* _KERNEL */ +#ifndef _SYS_NAMECACHE_H_ +#include +#endif +#ifndef _SYS_VARSYM_H_ #include +#endif #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_PRISON); @@ -56,7 +61,7 @@ struct prison { LIST_ENTRY(prison) pr_list; /* all prisons */ int pr_id; /* prison id */ int pr_ref; /* reference count */ - struct namecache *pr_root; /* namecache entry of root */ + struct nchandle pr_root; /* namecache entry of root */ char pr_host[MAXHOSTNAMELEN]; /* host name */ uint32_t pr_ip; /* IP address */ void *pr_linux; /* Linux ABI emulation */