[U-Boot] [PATCH] tools/env: Fix build failure from missing header include

Marek Vasut marex at denx.de
Sat Oct 13 00:20:35 CEST 2012


Dear Joe Hershberger,

> This was introduced in:
> 8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
> 	COMMON: Use __stringify() instead of MK_STR()
> 
> The header is now needed since common.h is not included in this tool.

Good find. This is -next, right ?

> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>  tools/env/fw_env.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
> index 520ce3f..ab8c15d 100644
> --- a/tools/env/fw_env.c
> +++ b/tools/env/fw_env.c
> @@ -26,6 +26,7 @@
> 
>  #include <errno.h>
>  #include <fcntl.h>
> +#include <linux/stringify.h>
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <stddef.h>

Best regards,
Marek Vasut


More information about the U-Boot mailing list