diff --git a/src/users.c b/src/users.c
index 40ffece1fef537342338bc26ccf467cdeba7dac0..139c97659a974701c2f69051c4d8fb93e78fc833 100644 (file)
--- a/src/users.c
+++ b/src/users.c
#elif HAVE_UTMP_H
# include <utmp.h>
/* #endif HAVE_UTMP_H */
-
-#else
-# error "No applicable input method."
#endif
static void users_submit (gauge_t value)
#elif HAVE_LIBSTATGRAB
sg_user_stats *us;
-# if HAVE_LIBSTATGRAB_GET_USER_STATS_ARG
+# if HAVE_LIBSTATGRAB_0_90
size_t num_entries;
us = sg_get_user_stats (&num_entries);
# else
return (-1);
users_submit ((gauge_t)
-# if HAVE_LIBSTATGRAB_GET_USER_STATS_ARG
+# if HAVE_LIBSTATGRAB_0_90
num_entries);
# else
us->num_entries);