libstatgrab: fix sg_get_user_stats() invocation for libstatgrab >= 0.9
authorVincent Bernat <vincent@bernat.im>
Wed, 12 Nov 2014 12:19:05 +0000 (13:19 +0100)
committerVincent Bernat <Vincent.Bernat@exoscale.ch>
Wed, 12 Nov 2014 12:20:11 +0000 (13:20 +0100)
commit2233e6a537fb0a197881a17779503b8279125381
treed89978efb3d3810b6574198088875c05842566b1
parent2bd9ed649bc73acdd12fd1a59ddf5eaf59a59413
libstatgrab: fix sg_get_user_stats() invocation for libstatgrab >= 0.9

In those versions, `sg_get_user_stats()` need to be invoked with an
additional argument. The need for such an argument is detected at
configure-time.

Fixes: #445
configure.ac
src/users.c