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