Skip to contentSkip to conversation

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

PATCH New Thomas Petazzoni 2 participants 2 messages May 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/cc-tool/0001-add-missing-stdarg-include.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/cc-tool/0001-add-missing-stdarg-include.patch
package/cc-tool/0001-add-missing-stdarg-include.patch new file +18 -0
new file mode 100644
index 0000000..c4f47fd
@@ -0,0 +1,18 @@
+Add missing <stdarg.h> include for va_list
+
+Fixes the build on uClibc.
+
+Signed-off-by: Thomas Petazzoni <[email protected]>
+
+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
Signature · 1 line
2.1.0
#1 lore raw

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

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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

Fixes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard