nscd: drop selinux/flask.h include
authorMike Frysinger <vapier@gentoo.org>
Sat, 30 May 2015 18:55:16 +0000 (14:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 8 Jul 2015 07:18:27 +0000 (03:18 -0400)
commit808696696837b8b8fc858f2e6f8d4e40e26e1308
tree26a94328e3622b302bbbe98948d129f632a961f9
parent61d95397de01ead73b828c6106a4a832d9681652
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
nscd/selinux.c