diff options
| author | riastradh <riastradh@NetBSD.org> | 2016-11-03 03:37:06 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2016-11-03 03:37:06 +0000 |
| commit | b3e89d7950bc0bbd9e6d4ee1542e89deb77b913d (patch) | |
| tree | 8c0aa8bf6f477cea5f1fb92754bee3724f971100 /sys/compat/common | |
| parent | faf0d0c35b42121ea68ab955a55575ef9012e4ef (diff) | |
Sprinkle #ifdef _KERNEL_OPT.
Diffstat (limited to 'sys/compat/common')
| -rw-r--r-- | sys/compat/common/kern_time_30.c | 6 | ||||
| -rw-r--r-- | sys/compat/common/rtsock_14.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/compat/common/kern_time_30.c b/sys/compat/common/kern_time_30.c index 3cf96fcc848..6debc5af7e4 100644 --- a/sys/compat/common/kern_time_30.c +++ b/sys/compat/common/kern_time_30.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $ */ +/* $NetBSD: kern_time_30.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -36,9 +36,11 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $"); +#ifdef _KERNEL_OPT #include "opt_ntp.h" +#endif #include <sys/param.h> #include <sys/systm.h> diff --git a/sys/compat/common/rtsock_14.c b/sys/compat/common/rtsock_14.c index b00950cab65..165e7821e05 100644 --- a/sys/compat/common/rtsock_14.c +++ b/sys/compat/common/rtsock_14.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtsock_14.c,v 1.4 2011/07/17 20:54:50 joerg Exp $ */ +/* $NetBSD: rtsock_14.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,9 +61,11 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rtsock_14.c,v 1.4 2011/07/17 20:54:50 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rtsock_14.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $"); +#ifdef _KERNEL_OPT #include "opt_inet.h" +#endif #include <sys/param.h> #include <sys/systm.h> |
