Commit a500dff1 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

cc-tool: fix missing stdarg.h include on uClibc

This commit adds a patch to fix a missing <stdarg.h> include for
va_list.

Fixes:

  http://autobuild.buildroot.org/results/9c8/9c828b1da8983577f93bdfae5275fc5122ae874f/



Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 19d5953b
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
Add missing <stdarg.h> include for va_list

Fixes the build on uClibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/src/common/log.h
===================================================================
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
 #include "common.h"
 
 class Log