svn commit: r279413 - head/sys/dev/watchdog

Ryan Stone rstone at FreeBSD.org
Sat Feb 28 22:37:49 UTC 2015


Author: rstone
Date: Sat Feb 28 22:37:48 2015
New Revision: 279413
URL: https://svnweb.freebsd.org/changeset/base/279413

Log:
  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.
  
  MFC after:	1 week
  X-MFC-With:	r261495, r279410

Modified:
  head/sys/dev/watchdog/watchdog.c

Modified: head/sys/dev/watchdog/watchdog.c
==============================================================================
--- head/sys/dev/watchdog/watchdog.c	Sat Feb 28 22:24:45 2015	(r279412)
+++ head/sys/dev/watchdog/watchdog.c	Sat Feb 28 22:37:48 2015	(r279413)
@@ -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>


More information about the svn-src-head mailing list