casaroli opened a new pull request, #20661: URL: https://github.com/apache/nuttx/pull/20661
## Summary `boards/arm/stm32h7/linum-stm32h753bi/src/stm32_sdmmc.c` calls `usleep()` but does not include `unistd.h`. It got the declaration through `stdio.h`, which no longer includes `nuttx/lib/lib.h` since #20565. Master fails to build every linum-stm32h753bi configuration with the SD card (CI job arm-08): ``` board/stm32_sdmmc.c:112:3: error: implicit declaration of function 'usleep' [-Werror=implicit-function-declaration] ``` This change includes `unistd.h`. ## Impact Build fix only. No change in behavior. ## Testing Built with GCC 15.3 (CMake) against nuttx-apps master: `linum-stm32h753bi:sdcard`, `zmodem`, `nxdoom`, `curl`, `usbmsc-sdcard`, `lvglterm_kbda`. `tools/checkpatch.sh -g` passes. -- 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]
