Blame SOURCES/0008-libsemanage-add-missing-include-to-boolean_record.c.patch

83eaee
From ecf6e6a9fda1a28cc3df36841b44326ed0c12312 Mon Sep 17 00:00:00 2001
83eaee
From: Ondrej Mosnacek <omosnace@redhat.com>
83eaee
Date: Thu, 3 Feb 2022 17:53:22 +0100
83eaee
Subject: [PATCH] libsemanage: add missing include to boolean_record.c
83eaee
83eaee
It uses asprintf(3), but doesn't directly include <stdio.h> - fix it.
83eaee
83eaee
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
83eaee
---
83eaee
 libsemanage/src/boolean_record.c | 4 +++-
83eaee
 1 file changed, 3 insertions(+), 1 deletion(-)
83eaee
83eaee
diff --git a/libsemanage/src/boolean_record.c b/libsemanage/src/boolean_record.c
83eaee
index c234094e..bdddfa23 100644
83eaee
--- a/libsemanage/src/boolean_record.c
83eaee
+++ b/libsemanage/src/boolean_record.c
83eaee
@@ -7,6 +7,9 @@
83eaee
  */
83eaee
 
83eaee
 #include <string.h>
83eaee
+#include <stdio.h>
83eaee
+#include <stdlib.h>
83eaee
+
83eaee
 #include <sepol/boolean_record.h>
83eaee
 #include "handle_internal.h"
83eaee
 
83eaee
@@ -21,7 +24,6 @@ typedef semanage_bool_key_t record_key_t;
83eaee
 #include "boolean_internal.h"
83eaee
 #include "handle.h"
83eaee
 #include "database.h"
83eaee
-#include <stdlib.h>
83eaee
 #include <selinux/selinux.h>
83eaee
 
83eaee
 /* Key */
83eaee
-- 
83eaee
2.30.2
83eaee