aboutsummaryrefslogtreecommitdiff
path: root/package/libsepol/0003-add-stdarg-include.patch
blob: 246c9654dd9858857d4f5e8acc4dea4d4dbf40dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 <thomas.petazzoni@free-electrons.com>
Index: b/cil/src/cil_log.h
===================================================================
--- a/cil/src/cil_log.h
+++ 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