Add missing <stdarg.h> include
PATCH 1/1 Add missing <stdarg.h> include
Add missing <stdarg.h> include
This is needed to fix the build on uClibc, due to the usage of va_list.
Signed-off-by Thomas Petazzoni <[email protected]>
cil/src/cil_log.h +1 -0
@@ -30,6 +30,7 @@#define CIL_LOG_H_ #include <stdlib.h> +#include <stdarg.h> #include <cil/cil.h> #define MAX_LOG_SIZE 512
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Stephen Smalley
AppliedQuoted 6 lines · Thomas Petazzoni
Add missing <
stdarg.h> includeThis is needed to fix the build on uClibc, due to the usage of
va_list.Signed-off-by Thomas Petazzoni <[email protected]>
Thanks, applied.
Quoted 14 lines
Index:
b/cil/src/cil_log.h
===================================================================cil/src/cil_log.h +1
-0@@ -30,6 +30,7 @@#define CIL_LOG_H_ #include <stdlib.h> +#include <stdarg.h> #include <cil/cil.h> #define MAX_LOG_SIZE 512