summaryrefslogtreecommitdiff
path: root/watchdog.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-04-24 00:40:27 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-05-29 23:06:36 +0200
commit63789e51ed913394c6bd4ac34e40ed0c8fcccccf (patch)
treeb2e3b07c6714b612c99acaefc6a52b1400da0ed8 /watchdog.h
parent5b1fb35427ba36d20c9f2a6b9403d1545b3abee6 (diff)
downloadprocd-63789e51ed913394c6bd4ac34e40ed0c8fcccccf.tar.gz
init: add support for sysupgrades triggered from preinit
This will allow to add support for sysupgrades via upgraded from failsafe mode. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'watchdog.h')
-rw-r--r--watchdog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/watchdog.h b/watchdog.h
index 641e7e1..3c4a487 100644
--- a/watchdog.h
+++ b/watchdog.h
@@ -15,6 +15,8 @@
#ifndef __PROCD_WATCHDOG_H
#define __PROCD_WATCHDOG_H
+#include <stdbool.h>
+
#ifndef DISABLE_INIT
void watchdog_init(int preinit);
char* watchdog_fd(void);