]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: avoid build failure on non selinux systems
authorPádraig Brady <P@draigBrady.com>
Wed, 27 Nov 2013 16:35:24 +0000 (16:35 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 27 Nov 2013 16:38:49 +0000 (16:38 +0000)
* src/selinux.c: This module introduced in commit v8.21-159-gd8e27ab
doesn't need to include <selinux/flask.h>.  That header file
isn't catered for by gnulib, but is not needed as we're not
explicitly referencing any class IDs.
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/6920020

src/selinux.c

index 2c3e97c678d150c2b1891c71e8bacb350c2c230b..405f5f61e59477fcc0902c260e58bf9966fda23b 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <config.h>
 #include <selinux/selinux.h>
-#include <selinux/flask.h>
 #include <selinux/context.h>
 #include <sys/types.h>