Skip to contentSkip to conversation

Add missing <stdarg.h> include

PATCH Applied Thomas Petazzoni 2 participants 2 messages Jul 1, 2016 SELinux security module

lore
Share & tools
lore
#0 lore raw

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.

cil/src/cil_log.h +1 -0
Index: b/cil/src/cil_log.h
===================================================================
@@ -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
#1 lore raw
Quoted 6 lines · Thomas Petazzoni

Add missing <stdarg.h> include

This is needed to fix the build on uClibc, due to the usage of va_list.

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