This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit ed87aa242dbb8380d4806f17d9e6dc0edfef0660 Author: yangguangcai <[email protected]> AuthorDate: Thu May 18 18:19:08 2023 +0800 drivertest:fix compile error. Signed-off-by: yangguangcai <[email protected]> --- testing/drivertest/drivertest_oneshot.c | 1 + testing/drivertest/drivertest_posix_timer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/testing/drivertest/drivertest_oneshot.c b/testing/drivertest/drivertest_oneshot.c index 5971bb93c..85af74ec2 100644 --- a/testing/drivertest/drivertest_oneshot.c +++ b/testing/drivertest/drivertest_oneshot.c @@ -26,6 +26,7 @@ #include <stdio.h> #include <signal.h> #include <time.h> +#include <stdlib.h> #include <unistd.h> #include <setjmp.h> #include <cmocka.h> diff --git a/testing/drivertest/drivertest_posix_timer.c b/testing/drivertest/drivertest_posix_timer.c index c042acda6..dbe9eca59 100644 --- a/testing/drivertest/drivertest_posix_timer.c +++ b/testing/drivertest/drivertest_posix_timer.c @@ -25,6 +25,7 @@ #include <stdio.h> #include <signal.h> #include <setjmp.h> +#include <stdlib.h> #include <cmocka.h> #include <syslog.h> #include <nuttx/timers/timer.h>
