Don't include opt_xxx when _LKM is defined.
Should fix build of netbsd32 as a lkm
This commit is contained in:
parent
77deea4733
commit
ab78fc54c0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: syscall_stats.h,v 1.1 2007/02/18 16:58:15 dsl Exp $ */
|
||||
/* $NetBSD: syscall_stats.h,v 1.2 2007/11/11 17:48:51 dsl Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
@ -35,7 +35,9 @@
|
||||
#ifndef _SYS_SYCALL_STAT_H_
|
||||
#define _SYS_SYCALL_STAT_H_
|
||||
|
||||
#ifndef _LKM
|
||||
#include "opt_syscall_stats.h"
|
||||
#endif
|
||||
|
||||
#ifdef SYSCALL_STATS
|
||||
#include <sys/syscall.h>
|
||||
|
Loading…
Reference in New Issue
Block a user