aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-06-11 10:02:39 +0200
committerBernd Kuhls <bernd.kuhls@t-online.de>2017-06-11 10:04:39 +0200
commit524ed1cd16de5adcb4a5015777d3dfc63afda1fe (patch)
treec2fec3cb02d0f0b926d334bc76f2eae5d389e2f5
parentdef5f22ab7f2134a7bdd82f70ff0c1ef16fe3731 (diff)
downloadmcelog-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memutil.h b/memutil.h
index 81028e9..dbed7fa 100644
--- a/memutil.h
+++ b/memutil.h
@@ -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);