use _KERNEL_OPT instead of _LKM to check whether to include "opt_ktrace.h"

This commit is contained in:
dbj 2006-09-24 21:44:58 +00:00
parent f3b496ec9b
commit 2df12fb8b5
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: freebsd_sysctl.c,v 1.6 2006/09/24 05:48:27 dogcow Exp $ */
/* $NetBSD: freebsd_sysctl.c,v 1.7 2006/09/24 21:44:58 dbj Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -41,9 +41,9 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysctl.c,v 1.6 2006/09/24 05:48:27 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysctl.c,v 1.7 2006/09/24 21:44:58 dbj Exp $");
#ifndef _LKM
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_sysctl.c,v 1.21 2006/09/24 05:48:27 dogcow Exp $ */
/* $NetBSD: linux_sysctl.c,v 1.22 2006/09/24 21:44:58 dbj Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -41,9 +41,9 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.21 2006/09/24 05:48:27 dogcow Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.22 2006/09/24 21:44:58 dbj Exp $");
#ifndef _LKM
#if defined (_KERNEL_OPT)
#include "opt_ktrace.h"
#endif