From: Dagobert Michelsen Date: Thu, 4 Jun 2015 11:25:48 +0000 (+0200) Subject: Fix header condition X-Git-Tag: collectd-5.5.1~6^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=10e6e69a60f1722bb0a8a3b25bd5812471f33cfc;p=collectd.git 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. --- diff --git a/src/users.c b/src/users.c index 1e337540..ca05f50d 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)