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

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


Applied, thanks!

On Tue, Mar 5, 2019 at 12:01 PM Nicolas Hüppelshäuser
<nicolas.hueppelshaeuser at emlix.com> wrote:
>
> 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
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list