You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2026/01/26 11:32:37 UTC
(nuttx-apps) 04/05: testing: add unistd.h for drivertest_touchpanel.c
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 34e4d7eacded506785c271908ce5dbd9358c6cda
Author: tengshuangshuang <te...@xiaomi.com>
AuthorDate: Wed Jun 4 19:32:55 2025 +0800
testing: add unistd.h for drivertest_touchpanel.c
Add unistd.h header file to drivertest_touchpanel.c to fix missing
sleep/usleep function declarations in touchpanel driver tests.
Signed-off-by: tengshuangshuang <te...@xiaomi.com>
---
testing/drivers/drivertest/drivertest_touchpanel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testing/drivers/drivertest/drivertest_touchpanel.c b/testing/drivers/drivertest/drivertest_touchpanel.c
index 3892c3d0f..7da74a168 100644
--- a/testing/drivers/drivertest/drivertest_touchpanel.c
+++ b/testing/drivers/drivertest/drivertest_touchpanel.c
@@ -37,6 +37,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <malloc.h>
#include <string.h>
#include <fcntl.h>