diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-03 15:08:59 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-05-03 16:33:46 +0200 |
commit | a500dff16875392b6ae91ab10e0595020b8289fd (patch) | |
tree | 6700bec22b0c381968221def097a6164f8191c64 /package/cc-tool/0001-add-missing-stdarg-include.patch | |
parent | 19d5953bf15b9e68d083fc72bcd40b02b7ab810a (diff) | |
download | buildroot-a500dff16875392b6ae91ab10e0595020b8289fd.tar.gz buildroot-a500dff16875392b6ae91ab10e0595020b8289fd.zip |
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: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cc-tool/0001-add-missing-stdarg-include.patch')
-rw-r--r-- | package/cc-tool/0001-add-missing-stdarg-include.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/cc-tool/0001-add-missing-stdarg-include.patch b/package/cc-tool/0001-add-missing-stdarg-include.patch new file mode 100644 index 0000000000..c4f47fd30c --- /dev/null +++ b/package/cc-tool/0001-add-missing-stdarg-include.patch @@ -0,0 +1,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 |