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

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