check_users: Use utmpx(5) only if available
commit92849a1a87f2c74a3017b30fec90c46919761f79
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 20 Aug 2013 19:13:25 +0000 (20 21:13 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 20 Aug 2013 19:13:25 +0000 (20 21:13 +0200)
tree1f35e4ffd5e942ca7c25c751a46b7fa1f521887b
parent4083622f86e1fe0fef1e81f23a2ca7a4614ea481
check_users: Use utmpx(5) only if available

For systems that don't provide an utmpx(5) interface, restore the code
that was replaced in commit 3e622f3a47bc7d31f22513a79892c3c52febd2d3.
configure.in
plugins/Makefile.am
plugins/check_users.c