summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-05-09 15:10:32 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-13 17:40:42 +0200
commit245cc346966b02aa032de092ff8910420e8305fa (patch)
treecc1a36bec97830e3f52227d8e06e650acc794c56 /src
parente1a9780b5c75602618773b1510e076897e129b36 (diff)
downloadsssd-245cc346966b02aa032de092ff8910420e8305fa.tar.gz
sssd-245cc346966b02aa032de092ff8910420e8305fa.tar.bz2
sssd-245cc346966b02aa032de092ff8910420e8305fa.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/providers/ipa/ipa_selinux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_selinux.c b/src/providers/ipa/ipa_selinux.c
index da685390..eed0cd49 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 <http://www.gnu.org/licenses/>.
*/
-#include <selinux/selinux.h>
#include <security/pam_modules.h>
#include "db/sysdb_selinux.h"