diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-11-21 18:09:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-22 00:57:08 +0100 |
commit | 66a5b5ce9b991327d594f7b635de16999ca54093 (patch) | |
tree | 27310b0584d791eb4bbaff804881dbe76d1f4dc5 /src/vconsole | |
parent | 9d52a6e5a999034864153ad9a14ba3102a8c09c5 (diff) | |
download | systemd-66a5b5ce9b991327d594f7b635de16999ca54093.tar.gz |
basic/user-util: properly protect use of gshadow
Commit 100d5f6ee6 (user-util: add new wrappers for [...] database
files), ammended by commit 4f07ffa8f5 (Use #if instead of #ifdef for
ENABLE_GSHADOW) moved code from sysuser to basic/user-util.
In doing so, the combination of both commits properly propagated the
ENABLE_GSHADOW conditions around the function manipulating gshadow, but
they forgot to protect the inclusion of the gshadow.h header.
Fix that to be able to build on C libraries that do not provide gshadow
(e.g. uClibc-ng, where it does not exist.)
Diffstat (limited to 'src/vconsole')
0 files changed, 0 insertions, 0 deletions