Author: cem
Date: Thu Aug  8 01:37:41 2019
New Revision: 350715
URL: https://svnweb.freebsd.org/changeset/base/350715

Log:
  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

Modified:
  head/sys/kern/kern_sysctl.c

Modified: head/sys/kern/kern_sysctl.c
==============================================================================
--- head/sys/kern/kern_sysctl.c Thu Aug  8 00:51:17 2019        (r350714)
+++ head/sys/kern/kern_sysctl.c Thu Aug  8 01:37:41 2019        (r350715)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to