Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2015 22:37:49 +0000 (UTC)
From:      Ryan Stone <rstone@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279413 - head/sys/dev/watchdog
Message-ID:  <201502282237.t1SMbnZt030035@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502282237.t1SMbnZt030035>