URL: https://github.com/freeipa/freeipa/pull/1415
Author: tiran
 Title: #1415: Include ipa_krb5.h without util prefix
Action: opened

PR body:
"""
Fixes out-of-tree builds.

ipa_kdb_certauth.c is the only place that includes the header file with 
``util`` prefix

```
$ find -name '*.[ch]' | xargs grep 'include "ipa_krb5.h"'
./client/ipa-getkeytab.c:#include "ipa_krb5.h"
./util/ipa_krb5.c:#include "ipa_krb5.h"
./daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h:#include "ipa_krb5.h"
./daemons/ipa-slapi-plugins/ipa-pwd-extop/encoding.c:#include "ipa_krb5.h"
./daemons/ipa-kdb/ipa_kdb.h:#include "ipa_krb5.h"
./daemons/ipa-kdb/ipa_kdb_certauth.c:#include "ipa_krb5.h"
./asn1/ipa_asn1.h:#include "ipa_krb5.h"
```
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1415/head:pr1415
git checkout pr1415
From 2da3d8cfc9892f9c86488b492ab8a9262cb1c7d4 Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
Date: Wed, 20 Dec 2017 11:53:09 +0100
Subject: [PATCH] Include ipa_krb5.h without util prefix

Fixes out-of-tree builds.

Signed-off-by: Christian Heimes <chei...@redhat.com>
---
 daemons/ipa-kdb/ipa_kdb_certauth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemons/ipa-kdb/ipa_kdb_certauth.c b/daemons/ipa-kdb/ipa_kdb_certauth.c
index 66c2d08cbb..35e5e7d086 100644
--- a/daemons/ipa-kdb/ipa_kdb_certauth.c
+++ b/daemons/ipa-kdb/ipa_kdb_certauth.c
@@ -42,7 +42,7 @@
 #include <syslog.h>
 #include <sss_certmap.h>
 
-#include "util/ipa_krb5.h"
+#include "ipa_krb5.h"
 #include "ipa_kdb.h"
 
 #define IPA_OC_CERTMAP_RULE "ipaCertMapRule"
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to