Fix !DDB kernel configurations after r350713

KDB is standard and the kdb_active variable is always available.  So,
de-conditionalize inclusion of sys/kdb.h in kern_sysctl.c.

Reported by:	Michael Butler <imb AT protected-networks.net>
X-MFC-With:	r350713
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2019-08-08 01:37:41 +00:00
parent 26a6feda9c
commit 7d0658ad55

View File

@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
#include <sys/priv.h>
#include <sys/proc.h>
#include <sys/jail.h>
#include <sys/kdb.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/rmlock.h>
@ -67,7 +68,6 @@ __FBSDID("$FreeBSD$");
#endif
#ifdef DDB
#include <sys/kdb.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#endif