andykimpe / rpms / 389-ds-base

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