summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--loginutils/login.c4
-rw-r--r--selinux/runcon.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index 366834e..16f1711 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -68,7 +68,9 @@
//usage: )
#include <selinux/context.h>
-#include <selinux/flask.h>
+/* from deprecated <selinux/flask.h>: */
+#undef SECCLASS_PROCESS
+#define SECCLASS_PROCESS 2
#include "libbb.h"