Blame SOURCES/0047-Ticket-48864-Fix-FreeIPA-build.patch

6f51e1
From f007ba9e5ac0bbeee1c1d6b4e292b293629a838c Mon Sep 17 00:00:00 2001
6f51e1
From: Viktor Ashirov <vashirov@redhat.com>
6f51e1
Date: Wed, 17 May 2017 22:03:54 +0200
6f51e1
Subject: [PATCH] Issue 48864 - Fix FreeIPA build
6f51e1
6f51e1
Bug Description:
6f51e1
FreeIPA build fails because of incorrect include files
6f51e1
6f51e1
https://pagure.io/389-ds-base/issue/48864
6f51e1
6f51e1
Reviewed by: mreynolds (Thanks!)
6f51e1
---
6f51e1
 ldap/servers/slapd/slapi-plugin.h | 2 +-
6f51e1
 ldap/servers/slapd/slapi_pal.h    | 2 ++
6f51e1
 2 files changed, 3 insertions(+), 1 deletion(-)
6f51e1
6f51e1
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h
6f51e1
index ec8917d..4084945 100644
6f51e1
--- a/ldap/servers/slapd/slapi-plugin.h
6f51e1
+++ b/ldap/servers/slapd/slapi-plugin.h
6f51e1
@@ -28,7 +28,7 @@ extern "C" {
6f51e1
 #endif
6f51e1
 
6f51e1
 /* Provides our int types and platform specific requirements. */
6f51e1
-#include <slapi_pal.h>
6f51e1
+#include "slapi_pal.h"
6f51e1
 
6f51e1
 #include "prtypes.h"
6f51e1
 #include "ldap.h"
6f51e1
diff --git a/ldap/servers/slapd/slapi_pal.h b/ldap/servers/slapd/slapi_pal.h
6f51e1
index cb61d84..307679d 100644
6f51e1
--- a/ldap/servers/slapd/slapi_pal.h
6f51e1
+++ b/ldap/servers/slapd/slapi_pal.h
6f51e1
@@ -19,7 +19,9 @@
6f51e1
 
6f51e1
 #pragma once
6f51e1
 
6f51e1
+#ifdef HAVE_CONFIG_H
6f51e1
 #include <config.h>
6f51e1
+#endif
6f51e1
 
6f51e1
 #ifdef HAVE_INTTYPES_H
6f51e1
 #include <inttypes.h>
6f51e1
-- 
6f51e1
2.9.4
6f51e1