From: Maxime Ripard Date: Tue, 5 Jul 2016 08:26:36 +0000 (+0200) Subject: vsprintf: Include stdarg for va_list X-Git-Tag: v2016.09-rc2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f272f1fcd9db5364a66652d2624b5672e2d398bd;p=u-boot vsprintf: Include stdarg for va_list vsprintf.h doesn't include the stdarg.h file, which means that it relies on the files that include vsprintf.h to include stdarg.h as well. Add an explicit include to avoid build errors when simply including that file. Acked-by: Simon Glass Acked-by: Pantelis Antoniou Signed-off-by: Maxime Ripard --- diff --git a/include/vsprintf.h b/include/vsprintf.h index 376f5dd324..60e91d119e 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -8,6 +8,8 @@ #ifndef __VSPRINTF_H #define __VSPRINTF_H +#include + ulong simple_strtoul(const char *cp, char **endp, unsigned int base); /**