projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added checks for `utmpx.h' and `getutxent' to the configure script
[collectd.git]
/
src
/
users.h
diff --git
a/src/users.h
b/src/users.h
index
360c595
..
f8b9544
100644
(file)
--- a/
src/users.h
+++ b/
src/users.h
@@
-28,7
+28,11
@@
#include "config.h"
#ifndef COLLECT_USERS
+#if defined(HAVE_UTMPX_H) && defined(HAVE_GETUTXENT)
#define COLLECT_USERS 1
+#else
+#define COLLECT_USERS 0
+#endif
#endif /* ! defined(COLLECT_USERS) */
void users_init(void);