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

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