[monitoring-plugins] all includes in one place

Lorenz Kästle git at monitoring-plugins.org
Wed Mar 12 16:00:12 CET 2025


 Module: monitoring-plugins
 Branch: master
 Commit: dbfd6568658869c017feb518e50c574f0b928d6f
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Wed Mar 12 11:10:43 2025 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=dbfd6568

all includes in one place

---

 plugins/check_ntp_peer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 6979d275..fcd06b8e 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -35,7 +35,6 @@
  *
  *****************************************************************************/
 
-#include "states.h"
 const char *progname = "check_ntp_peer";
 const char *copyright = "2006-2024";
 const char *email = "devel at monitoring-plugins.org";
@@ -43,6 +42,7 @@ const char *email = "devel at monitoring-plugins.org";
 #include "common.h"
 #include "netutils.h"
 #include "utils.h"
+#include "../lib/states.h"
 #include "check_ntp_peer.d/config.h"
 
 static int verbose = 0;



More information about the Commits mailing list