This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit b6dff4d5840e964195723e05d5d03f652dc06fad
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Fri Mar 20 19:29:05 2026 +0800

    ostest/hrtimer: Add missing pthread.h and spinlock.h.
    
    This commit added missing pthread.h and spinlock.h.
    
    Assisted-By: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 testing/ostest/hrtimer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testing/ostest/hrtimer.c b/testing/ostest/hrtimer.c
index 3220ef2db..df172e847 100644
--- a/testing/ostest/hrtimer.c
+++ b/testing/ostest/hrtimer.c
@@ -26,12 +26,14 @@
 
 #include <nuttx/config.h>
 #include <nuttx/hrtimer.h>
+#include <nuttx/spinlock.h>
 
 #include <assert.h>
 #include <stdio.h>
 #include <sched.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <pthread.h>
 
 #include "ostest.h"
 

Reply via email to