Skip to content

Commit

Permalink
nscd: drop selinux/flask.h include
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mike Frysinger committed Jul 8, 2015
1 parent 61d9539 commit 8086966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-07-08 Mike Frysinger <vapier@gentoo.org>

* nscd/selinux.c: Delete selinux/flask.h include.

2015-07-08 Mike Frysinger <vapier@gentoo.org>

[BZ #18641]
Expand Down
1 change: 0 additions & 1 deletion nscd/selinux.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <unistd.h>
#include <sys/prctl.h>
#include <selinux/avc.h>
#include <selinux/flask.h>
#include <selinux/selinux.h>
#ifdef HAVE_LIBAUDIT
# include <libaudit.h>
Expand Down

0 comments on commit 8086966

Please sign in to comment.