summaryrefslogtreecommitdiff
path: root/src/udev/logind-acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/logind-acl.c')
-rw-r--r--src/udev/logind-acl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/logind-acl.c b/src/udev/logind-acl.c
index cb045a9928..a2b31a3b80 100644
--- a/src/udev/logind-acl.c
+++ b/src/udev/logind-acl.c
@@ -19,6 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#ifdef HAVE_ACL
+
#include <assert.h>
#include <sys/acl.h>
#include <acl/libacl.h>
@@ -246,3 +248,5 @@ finish:
return r;
}
+
+#endif