[git commit] scripts/echo.c: resolve implicit declaration of function 'dup2'

Denys Vlasenko vda.linux at googlemail.com
Tue Mar 5 15:57:04 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=b096ce0fdda0918f9248ff15838cbc31525fa823
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Nicolas Hüppelshäuser <nicolas.hueppelshaeuser at emlix.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/echo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/echo.c b/scripts/echo.c
index 8c6b409d3..7474ccdd4 100644
--- a/scripts/echo.c
+++ b/scripts/echo.c
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <limits.h>
+#include <unistd.h>
 
 #define WANT_HEX_ESCAPES 1
 


More information about the busybox-cvs mailing list