summaryrefslogtreecommitdiffstats
path: root/package/cc-tool/0001-add-missing-stdarg-include.patch
blob: c4f47fd30c5a39efcfedf374cd64587fede69010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
OpenPOWER on IntegriCloud