diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index b7704f8551dd..dff20d538c08 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ultrix_misc.c,v 1.62 2000/12/01 12:28:36 jdolecek Exp $ */ +/* $NetBSD: ultrix_misc.c,v 1.63 2000/12/01 19:26:57 jdolecek Exp $ */ /* * Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author) @@ -79,9 +79,11 @@ * from: Header: sun_misc.c,v 1.16 93/04/07 02:46:27 torek Exp */ +#if defined(_KERNEL) && !defined(_LKM) #include "opt_nfsserver.h" #include "opt_sysv.h" #include "opt_execfmt.h" +#endif #include /* RCS ID & Copyright macro defns */ @@ -92,7 +94,9 @@ * handled here. */ +#if defined(_KERNEL) && !defined(_LKM) #include "fs_nfs.h" +#endif #include #include