From 78937126227f00cd8af595a20e06c6f276ac8520 Mon Sep 17 00:00:00 2001 From: dulibo1 Date: Mon, 4 Dec 2023 20:55:03 +0800 Subject: [PATCH] drivertest:add include file depended by cmocka from the cmocka.h: * These headers or their equivalents MUST be included prior to including * this header file. * @code * #include * #include * #include * #include * @endcode Signed-off-by: dulibo1 Signed-off-by: buxiasen --- testing/drivertest/drivertest_pm_runtime.c | 4 +++- testing/drivertest/drivertest_regulator.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/testing/drivertest/drivertest_pm_runtime.c b/testing/drivertest/drivertest_pm_runtime.c index 11e6ae66e..9e80a0f42 100644 --- a/testing/drivertest/drivertest_pm_runtime.c +++ b/testing/drivertest/drivertest_pm_runtime.c @@ -28,8 +28,10 @@ #include #include #include +#include +#include +#include #include -#include #include #include diff --git a/testing/drivertest/drivertest_regulator.c b/testing/drivertest/drivertest_regulator.c index 212c6805a..aa53a693e 100644 --- a/testing/drivertest/drivertest_regulator.c +++ b/testing/drivertest/drivertest_regulator.c @@ -28,8 +28,10 @@ #include #include #include +#include +#include +#include #include -#include #include #include