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

Nicolas Hüppelshäuser nicolas.hueppelshaeuser at emlix.com
Tue Mar 5 10:54:23 UTC 2019


Signed-off-by: Nicolas Hüppelshäuser <nicolas.hueppelshaeuser at emlix.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
 
-- 
2.17.1



More information about the busybox mailing list