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"; # define ERROR -1 #elif HAVE_UTMPX_H # include -#else -# include "popen.h" #endif #ifdef HAVE_LIBSYSTEMD 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() { # 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() {