aboutsummaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon/tmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/thermal/tmon/tmon.h')
-rw-r--r--tools/thermal/tmon/tmon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/thermal/tmon/tmon.h b/tools/thermal/tmon/tmon.h
index c9066ec104dd..44d16d778f04 100644
--- a/tools/thermal/tmon/tmon.h
+++ b/tools/thermal/tmon/tmon.h
@@ -27,6 +27,9 @@
#define NR_LINES_TZDATA 1
#define TMON_LOG_FILE "/var/tmp/tmon.log"
+#include <sys/time.h>
+#include <pthread.h>
+
extern unsigned long ticktime;
extern double time_elapsed;
extern unsigned long target_temp_user;