diff options
Diffstat (limited to 'package/libsepol/0003-add-stdarg-include.patch')
-rw-r--r-- | package/libsepol/0003-add-stdarg-include.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libsepol/0003-add-stdarg-include.patch b/package/libsepol/0003-add-stdarg-include.patch new file mode 100644 index 0000000000..246c9654dd --- /dev/null +++ b/package/libsepol/0003-add-stdarg-include.patch @@ -0,0 +1,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 |