Commit f272f1fc authored by Maxime Ripard's avatar Maxime Ripard Committed by Tom Rini

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarPantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 716f9085
......@@ -8,6 +8,8 @@
#ifndef __VSPRINTF_H
#define __VSPRINTF_H
#include <stdarg.h>
ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment