From patchwork Sat May 30 18:57:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 6988 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 42737 invoked by alias); 30 May 2015 18:57:31 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 42718 invoked by uid 89); 30 May 2015 18:57:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH] nscd: drop selinux/flask.h include Date: Sat, 30 May 2015 14:57:25 -0400 Message-Id: <1433012245-26244-1-git-send-email-vapier@gentoo.org> 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 77429f7..6a0db12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-05-31 Mike Frysinger + + * nscd/selinux.c: Delete selinux/flask.h include. + 2015-05-29 Adhemerval Zanella * sysdeps/powerpc/fpu/libm-test-ulps: Update. diff --git a/nscd/selinux.c b/nscd/selinux.c index e433b1b..806763f 100644 --- a/nscd/selinux.c +++ b/nscd/selinux.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #ifdef HAVE_LIBAUDIT # include