mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-19 04:59:35 +07:00
build-sys: fix !HAVE_SELINUX case
This commit is contained in:
parent
8d789b905d
commit
0b6018f3d9
@ -19,10 +19,12 @@
|
||||
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <selinux/selinux.h>
|
||||
|
||||
#include "selinux-util.h"
|
||||
|
||||
#ifdef HAVE_SELINUX
|
||||
|
||||
#include <selinux/selinux.h>
|
||||
|
||||
static int use_selinux_cached = -1;
|
||||
|
||||
bool use_selinux(void) {
|
||||
@ -36,3 +38,5 @@ bool use_selinux(void) {
|
||||
void retest_selinux(void) {
|
||||
use_selinux_cached = -1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user