summaryrefslogtreecommitdiff
path: root/common/dptf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/dptf.c')
-rw-r--r--common/dptf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/dptf.c b/common/dptf.c
index 2a2cef0c17..33a42ba5af 100644
--- a/common/dptf.c
+++ b/common/dptf.c
@@ -13,6 +13,10 @@
#include "temp_sensor.h"
#include "util.h"
+#ifdef CONFIG_ZEPHYR
+#include "temp_sensor/temp_sensor.h"
+#endif
+
/* Console output macros */
#define CPUTS(outstr) cputs(CC_DPTF, outstr)
#define CPRINTS(format, args...) cprints(CC_DPTF, format, ## args)