>From f94ae1a4f46349d59adf21dc6ff05e2e1183f1f8 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 9 May 2013 15:10:32 +0200 Subject: [PATCH] Fixes compilation without selinux. Compilation fail if ./configure is called with arguments --with-selinux --with-semanage and selinux header files are not installed. We didn't not catch this in fedora, because krb5-devel depends on libselinux-devel, but other distribution can package it differently. And API from selinux.h is not used in file ipa_selinux.c --- src/providers/ipa/ipa_selinux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c index da685390920ec8f5dfd7b73b9c234d70d83b4c77..eed0cd499d4fe2feb626eb7e1f233c654502b0b2 100644 --- a/src/providers/ipa/ipa_selinux.c +++ b/src/providers/ipa/ipa_selinux.c @@ -21,7 +21,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include #include "db/sysdb_selinux.h" -- 1.8.1.4