Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"
This commit is contained in:
parent
70060b7c61
commit
200ff49b87
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lock.h,v 1.2 2003/06/23 11:01:16 martin Exp $ */
|
||||
/* $NetBSD: lock.h,v 1.3 2003/09/20 22:28:19 matt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -44,7 +44,9 @@
|
|||
#ifndef _HPPA_LOCK_H_
|
||||
#define _HPPA_LOCK_H_
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_multiprocessor.h"
|
||||
#endif
|
||||
|
||||
#ifdef MULTIPROCESSOR
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: param.h,v 1.4 2003/06/23 11:01:17 martin Exp $ */
|
||||
/* $NetBSD: param.h,v 1.5 2003/09/20 22:28:19 matt Exp $ */
|
||||
|
||||
/* $OpenBSD: param.h,v 1.12 2001/07/06 02:07:41 provos Exp $ */
|
||||
|
||||
|
@ -25,7 +25,9 @@
|
|||
* Utah $Hdr: param.h 1.18 94/12/16$
|
||||
*/
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_compat_hpux.h"
|
||||
#endif
|
||||
#include <sys/featuretest.h>
|
||||
|
||||
#if defined(_NETBSD_SOURCE)
|
||||
|
|
Loading…
Reference in New Issue