From 808696696837b8b8fc858f2e6f8d4e40e26e1308 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 30 May 2015 14:55:16 -0400 Subject: nscd: drop selinux/flask.h include Building nscd w/selinux enabled yields a warning which yields an error: In file included from selinux.c:32:0: /usr/include/selinux/flask.h:5:2: error: #warning "Please remove any #include's of this header in your source code." I've done just that and it builds cleanly with libselinux-2.4. --- ChangeLog | 4 ++++ nscd/selinux.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb4476230f..3a5cfeee40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-07-08 Mike Frysinger + + * nscd/selinux.c: Delete selinux/flask.h include. + 2015-07-08 Mike Frysinger [BZ #18641] diff --git a/nscd/selinux.c b/nscd/selinux.c index e433b1b18a..806763f9bd 100644 --- a/nscd/selinux.c +++ b/nscd/selinux.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #ifdef HAVE_LIBAUDIT # include -- cgit 1.4.1