Skip to content
Commit 66a5b5ce authored by Yann E. Morin's avatar Yann E. Morin Committed by Lennart Poettering
Browse files

basic/user-util: properly protect use of gshadow

Commit 100d5f6e (user-util: add new wrappers for [...] database
files), ammended by commit 4f07ffa8 (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.)
parent 9d52a6e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment