summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrstone <rstone@FreeBSD.org>2015-09-17 18:19:55 +0000
committerrstone <rstone@FreeBSD.org>2015-09-17 18:19:55 +0000
commitb58eab535b4726f142051f162cd221b1bc443944 (patch)
treec192fe9e2a47f8ffba9989fe0fe35331c36c3900 /sys
parent0dcfc7cde5df4644488ef27f3561ee356b42c0f5 (diff)
downloadFreeBSD-src-b58eab535b4726f142051f162cd221b1bc443944.zip
FreeBSD-src-b58eab535b4726f142051f162cd221b1bc443944.tar.gz
MFC r279413:
Add a missing include of an options header. watchdog.c does an #ifdef DDB but does not #include "opt_ddb.h". Fixing this turned up a missing include file.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/watchdog/watchdog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index 087d6e8..5c9c6a1 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -28,6 +28,8 @@
*
*/
+#include "opt_ddb.h"
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -37,6 +39,7 @@ __FBSDID("$FreeBSD$");
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>
+#include <sys/kdb.h>
#include <sys/malloc.h>
#include <sys/module.h>
#include <sys/sysctl.h>
OpenPOWER on IntegriCloud