Blame SOURCES/0020-sss_format.h-include-config.h.patch

b833e0
From 45f2eb57dc9068cba13099cab90f1be3f3455442 Mon Sep 17 00:00:00 2001
b833e0
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
b833e0
Date: Fri, 2 Oct 2020 14:04:24 +0200
b833e0
Subject: [PATCH 20/27] sss_format.h: include config.h
b833e0
b833e0
config.h is required for the definitions to work correctly. Compilation
b833e0
will fail if sss_format.h is included in a file that does not include
b833e0
directly or indirectly config.h
b833e0
b833e0
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
b833e0
Reviewed-by: Sumit Bose <sbose@redhat.com>
b833e0
---
b833e0
 src/util/sss_format.h | 2 ++
b833e0
 1 file changed, 2 insertions(+)
b833e0
b833e0
diff --git a/src/util/sss_format.h b/src/util/sss_format.h
b833e0
index 5cf080842..9a3041704 100644
b833e0
--- a/src/util/sss_format.h
b833e0
+++ b/src/util/sss_format.h
b833e0
@@ -27,6 +27,8 @@
b833e0
 #ifndef __SSS_FORMAT_H__
b833e0
 #define __SSS_FORMAT_H__
b833e0
 
b833e0
+#include "config.h"
b833e0
+
b833e0
 #include <inttypes.h>
b833e0
 
b833e0
 /* key_serial_t is defined in keyutils.h as typedef int32_t */
b833e0
-- 
b833e0
2.21.3
b833e0