From 6175c285e7c21be9bf358fa8f3a9289355c27d34 Mon Sep 17 00:00:00 2001 From: Lassi Marttala Date: Tue, 4 Dec 2012 14:15:09 +0100 Subject: Watchdog: Watch the main thread. Signed-off-by: Alexander Wenzel --- src/daemon/dlt-daemon.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/daemon/dlt-daemon.h') diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h index aa8c372..e78f40d 100755 --- a/src/daemon/dlt-daemon.h +++ b/src/daemon/dlt-daemon.h @@ -73,6 +73,7 @@ #include +#include /** @@ -130,6 +131,9 @@ typedef struct DltShm dlt_shm; /**< Shared memory handling */ #endif DltOfflineTrace offlineTrace; /**< Offline trace handling */ +#if defined(DLT_SYSTEMD_WATCHDOG_ENABLE) + struct timeval lastOperationTime; +#endif } DltDaemonLocal; typedef struct -- cgit v1.2.1