mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
fixes check_users build on OpenBSD (without utmpx)
This commit is contained in:
parent
92f37f90c3
commit
5fb0c08cec
2 changed files with 1 additions and 3 deletions
|
|
@ -51,8 +51,6 @@ const char *email = "devel@monitoring-plugins.org";
|
|||
# define ERROR -1
|
||||
#elif HAVE_UTMPX_H
|
||||
# include <utmpx.h>
|
||||
#else
|
||||
# include "popen.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBSYSTEMD
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@ get_num_of_users_wrapper get_num_of_users_utmp() {
|
|||
# ifndef HAVE_UTMPX_H
|
||||
// Fall back option here for the others (probably still not on windows)
|
||||
|
||||
# include "../popen.h"
|
||||
# include "../common.h"
|
||||
# include "../popen.h"
|
||||
# include "../utils.h"
|
||||
|
||||
get_num_of_users_wrapper get_num_of_users_who_command() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue