Add a #error requiring KDB if DDB is specified. (This can probably be
relocated to a better place, if one exists.)
This commit is contained in:
parent
8653f72f6e
commit
4ca037c6c8
@ -95,6 +95,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/cons.h>
|
||||
|
||||
#ifdef DDB
|
||||
#ifndef KDB
|
||||
#error KDB must be enabled in order for DDB to work!
|
||||
#endif
|
||||
#include <ddb/ddb.h>
|
||||
#include <ddb/db_sym.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user