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

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