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 <[email protected]>
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 <[email protected]>
---
 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>

Reply via email to