diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-04 20:15:32 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-01-04 20:15:32 +0000 |
commit | 3ae59505292e0184f13b15137c09c4708511d881 (patch) | |
tree | 1cbc9b8e5acc48fe13a6ea22fe7422938bffffc5 /sys/kern/subr_prf.c | |
parent | 469c4ba59e2216afe4b30210fbd67205372ce62b (diff) | |
download | src-test2-3ae59505292e0184f13b15137c09c4708511d881.tar.gz src-test2-3ae59505292e0184f13b15137c09c4708511d881.zip |
Notes
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index e8cef1b164d9..8e1c7b819943 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -39,6 +39,8 @@ * $FreeBSD$ */ +#include "opt_ddb.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/lock.h> @@ -56,6 +58,10 @@ #include <sys/cons.h> #include <sys/uio.h> +#ifdef DDB +#include <ddb/ddb.h> +#endif + /* * Note that stdarg.h and the ANSI style va_start macro is used for both * ANSI and traditional C compilers. @@ -900,9 +906,7 @@ SYSCTL_PROC(_kern, OID_AUTO, msgbuf_clear, CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_SECURE, &msgbuf_clear, 0, sysctl_kern_msgbuf_clear, "I", "Clear kernel message buffer"); -#include "opt_ddb.h" #ifdef DDB -#include <ddb/ddb.h> DB_SHOW_COMMAND(msgbuf, db_show_msgbuf) { |