yangsong8-a1 opened a new pull request, #4138: URL: https://github.com/apache/nuttx-apps/pull/4138
## Summary - `benchmarks/osperf/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. ## Impact - No functional change. - Fixes the build of `CONFIG_BENCHMARK_OSPERF=y` configurations together with apache/nuttx#22283, which stopped `include/nuttx/addrenv.h` from pulling `sched.h`. ## Testing - Built `sim:baromonitor` with `CONFIG_BENCHMARK_OSPERF=y` and `CONFIG_SCHED_HPWORK=y` against the NuttX tree of apache/nuttx#22283: `osperf.c` compiles and links cleanly. Without the include, the same build fails with `storage size of 'work' isn't known` (as seen in the CI of apache/nuttx#22283, e.g. `qemu-armv8a:nsh_smp`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
