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 <sjg@chromium.org>
Acked-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Maxime Ripard 2016-07-05 10:26:36 +02:00 committed by Tom Rini
parent 716f908526
commit f272f1fcd9

View File

@ -8,6 +8,8 @@
#ifndef __VSPRINTF_H
#define __VSPRINTF_H
#include <stdarg.h>
ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
/**