From 0fd0dfe0e713e57845518e65bc320dd69835cd83 Mon Sep 17 00:00:00 2001 From: Jeff Andersen Date: Fri, 3 Mar 2017 10:29:55 -0800 Subject: Include "config.h" in include/watchdog.h. Without this include, the `watchdog_reload()` function will be compiled as a noop unless "config.h" is included before "watchdog.h" in whatever compilation unit requires watchdog functionality. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I311019753f6d61890be1e475664bd528e5250729 Reviewed-on: https://chromium-review.googlesource.com/449694 Commit-Ready: Jeff Andersen Tested-by: Jeff Andersen Reviewed-by: Vadim Bendebury Reviewed-by: Vincent Palatin --- include/watchdog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/watchdog.h b/include/watchdog.h index d2879c8381..b06fadeee5 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -10,6 +10,8 @@ #include +#include "config.h" + /** * Initialize the watchdog. * -- cgit v1.2.1