mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 01:49:24 +08:00
nxsched_waitpid is only available when CONFIG_SCHED_WAITPID is enabled. Wrap the call with #ifdef to fix the build error when this option is disabled. Signed-off-by: huojianchao <huojianchao@xiaomi.com> Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>