projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5e674
)
Fix header condition
author
Dagobert Michelsen
<dam@opencsw.org>
Thu, 4 Jun 2015 11:25:48 +0000
(13:25 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 13 Jan 2016 21:28:33 +0000
(22:28 +0100)
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
patch
|
blob
|
history
diff --git
a/src/users.c
b/src/users.c
index
1e33754
..
ca05f50
100644
(file)
--- a/
src/users.c
+++ b/
src/users.c
@@
-40,9
+40,6
@@
#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)