chiark / gitweb /
logind: Fix compilation without ACL
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 11 Jul 2011 20:29:45 +0000 (22:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jul 2011 20:29:45 +0000 (22:29 +0200)
commit2fb1aedaf2493d9598693c123d5e9c168ca1b3c1
tree5ad52918e17d8e894aa4943ba5622f5983d8167c
parent4e7f8bc81c6422c59ab644fcea28b6f32be416e9
logind: Fix compilation without ACL

Compilation fails if sys/acl.h is not available. The configure script
already tests for sys/acl.h presence, but the result was so far unused.
To compile without acl, stub implementations of the acl functions are
used.
Makefile.am
src/logind-acl.h