diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-06-11 10:02:39 +0200 |
---|---|---|
committer | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-06-11 10:04:39 +0200 |
commit | 524ed1cd16de5adcb4a5015777d3dfc63afda1fe (patch) | |
tree | c2fec3cb02d0f0b926d334bc76f2eae5d389e2f5 | |
parent | def5f22ab7f2134a7bdd82f70ff0c1ef16fe3731 (diff) | |
download | mcelog-524ed1cd16de5adcb4a5015777d3dfc63afda1fe.tar.gz |
memutil.h: add missing include for va_list
Fixes compile error with uclibc-ng:
In file included from mcelog.c:51:0:
memutil.h:4:48: error: unknown type name 'va_list'
int xvasprintf(char **ret, const char *format, va_list ap);
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-rw-r--r-- | memutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <stdlib.h> +#include <stdarg.h> int xasprintf(char **strp, const char *fmt, ...); int xvasprintf(char **ret, const char *format, va_list ap); |