summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.d/users.c
diff options
context:
space:
mode:
authorStuart Henderson <stu@spacehopper.org>2025-09-26 12:51:42 +0100
committerStuart Henderson <stu@spacehopper.org>2025-09-26 12:51:42 +0100
commit5fb0c08cec4122928767e8d58c222865eeeae1d7 (patch)
tree8d10668d6ec5b7da2a7a4c4b214a42b1d9cdc612 /plugins/check_users.d/users.c
parent92f37f90c3dda77cfd724a507aaac58526976606 (diff)
downloadmonitoring-plugins-5fb0c08cec4122928767e8d58c222865eeeae1d7.tar.gz
fixes check_users build on OpenBSD (without utmpx)
Diffstat (limited to 'plugins/check_users.d/users.c')
-rw-r--r--plugins/check_users.d/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_users.d/users.c b/plugins/check_users.d/users.c
index f37819b1..a08f79c5 100644
--- a/plugins/check_users.d/users.c
+++ b/plugins/check_users.d/users.c
@@ -113,8 +113,8 @@ get_num_of_users_wrapper get_num_of_users_utmp() {
113# ifndef HAVE_UTMPX_H 113# ifndef HAVE_UTMPX_H
114// Fall back option here for the others (probably still not on windows) 114// Fall back option here for the others (probably still not on windows)
115 115
116# include "../popen.h"
117# include "../common.h" 116# include "../common.h"
117# include "../popen.h"
118# include "../utils.h" 118# include "../utils.h"
119 119
120get_num_of_users_wrapper get_num_of_users_who_command() { 120get_num_of_users_wrapper get_num_of_users_who_command() {