summaryrefslogtreecommitdiffstats
path: root/plugins/check_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.c
parent92f37f90c3dda77cfd724a507aaac58526976606 (diff)
downloadmonitoring-plugins-5fb0c08cec4122928767e8d58c222865eeeae1d7.tar.gz
fixes check_users build on OpenBSD (without utmpx)
Diffstat (limited to 'plugins/check_users.c')
-rw-r--r--plugins/check_users.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 2340eae4..3b2e265e 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -51,8 +51,6 @@ const char *email = "devel@monitoring-plugins.org";
51# define ERROR -1 51# define ERROR -1
52#elif HAVE_UTMPX_H 52#elif HAVE_UTMPX_H
53# include <utmpx.h> 53# include <utmpx.h>
54#else
55# include "popen.h"
56#endif 54#endif
57 55
58#ifdef HAVE_LIBSYSTEMD 56#ifdef HAVE_LIBSYSTEMD