svn commit: r287928 - stable/10/sys/dev/watchdog

Ryan Stone rstone at FreeBSD.org
Thu Sep 17 18:19:56 UTC 2015


Author: rstone
Date: Thu Sep 17 18:19:55 2015
New Revision: 287928
URL: https://svnweb.freebsd.org/changeset/base/287928

Log:
  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.

Modified:
  stable/10/sys/dev/watchdog/watchdog.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/watchdog/watchdog.c
==============================================================================
--- stable/10/sys/dev/watchdog/watchdog.c	Thu Sep 17 18:11:26 2015	(r287927)
+++ stable/10/sys/dev/watchdog/watchdog.c	Thu Sep 17 18:19:55 2015	(r287928)
@@ -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-stable-10 mailing list