From fc67dcb59e0f7fa1fa73518ff9abc2f7c7e33615 Mon Sep 17 00:00:00 2001 From: Dagobert Michelsen Date: Thu, 4 Jun 2015 13:25:48 +0200 Subject: [PATCH] Fix header condition The dependency is either UTMPX or UTMP or Statgrab. The inclusion above hasn't statgrab.h in the elif-chain, that means compilation fails when only libstatgrab is available. The line can safely be taken out as the same condition is checked in #L120. --- src/users.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/users.c b/src/users.c index 10f34ee9..139c9765 100644 --- a/src/users.c +++ b/src/users.c @@ -40,9 +40,6 @@ #elif HAVE_UTMP_H # include /* #endif HAVE_UTMP_H */ - -#else -# error "No applicable input method." #endif static void users_submit (gauge_t value) -- 2.30.2