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

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


The following commit(s) were added to refs/heads/master by this push:
     new 35b08a117 benchmarks/osperf: Include nuttx/wqueue.h directly
35b08a117 is described below

commit 35b08a11702d42d57a2e98cdd4dcb37476d79fa4
Author: yangsong8 <[email protected]>
AuthorDate: Wed Nov 25 13:09:23 2026 +0800

    benchmarks/osperf: Include nuttx/wqueue.h directly
    
    osperf.c uses struct work_s and work_queue(), which it got only
    transitively through the sched.h include chain in NuttX. Include
    <nuttx/wqueue.h> directly so the file keeps building after
    include/nuttx/addrenv.h no longer pulls sched.h.
    
    Assisted-by: opencode:zhipuai/glm-5.3
    Signed-off-by: yangsong8 <[email protected]>
---
 benchmarks/osperf/osperf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/benchmarks/osperf/osperf.c b/benchmarks/osperf/osperf.c
index f0146fa5b..0c5fdaaa0 100644
--- a/benchmarks/osperf/osperf.c
+++ b/benchmarks/osperf/osperf.c
@@ -41,6 +41,7 @@
 
 #include <nuttx/sched.h>
 #include <nuttx/spinlock.h>
+#include <nuttx/wqueue.h>
 
 /****************************************************************************
  * Private Types

Reply via email to