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

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

commit 45e8b40ad0bba6ab94f6f28eb000967ae62432fb
Author: raiden00pl <[email protected]>
AuthorDate: Fri Oct 16 12:36:23 2026 +0200

    boot/nxboot: include unistd.h in nxboot_main.c
    
    nxboot_main.c uses STDOUT_FILENO but got it only through stdio.h,
    which no longer pulls in unistd.h.
    
    Assisted-by: Claude Code
    Signed-off-by: raiden00pl <[email protected]>
---
 boot/nxboot/nxboot_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/nxboot/nxboot_main.c b/boot/nxboot/nxboot_main.c
index f63dc8ab6..1670ca207 100644
--- a/boot/nxboot/nxboot_main.c
+++ b/boot/nxboot/nxboot_main.c
@@ -28,6 +28,7 @@
 
 #include <stdio.h>
 #include <syslog.h>
+#include <unistd.h>
 #include <nuttx/ascii.h>
 #include <sys/param.h>
 #include <nxboot.h>

Reply via email to