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:
Mike Silbersack 2004-07-19 02:46:34 +00:00
parent 8653f72f6e
commit 4ca037c6c8

View File

@ -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