olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1505492-selinux.patch

00db10
Remove unnecessary #include directives to avoid #warning directives from
00db10
SELinux headers.  Further cleanup after glibc-rh1025934.patch.  Handled
00db10
upstream as part of the original commit.
00db10
00db10
diff --git a/nscd/selinux.c b/nscd/selinux.c
00db10
index 2bf4d1a66a9623b5..24b554765264ae63 100644
00db10
--- a/nscd/selinux.c
00db10
+++ b/nscd/selinux.c
00db10
@@ -28,9 +28,7 @@
00db10
 #include <syslog.h>
00db10
 #include <unistd.h>
00db10
 #include <sys/prctl.h>
00db10
-#include <selinux/av_permissions.h>
00db10
 #include <selinux/avc.h>
00db10
-#include <selinux/flask.h>
00db10
 #include <selinux/selinux.h>
00db10
 #ifdef HAVE_LIBAUDIT
00db10
 # include <libaudit.h>