summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-03-26 15:30:34 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-03-26 15:30:34 +0100
commita3ea7f03ad54017fe434513c7973d4148f652d5d (patch)
treee2d2ef7d33bb19fc829a2e7291cfec6b18602544
parentdd7af2d6b6269a529972c3e473cf8297670a01ce (diff)
downloadmonitoring-plugins-a3ea7f03ad54017fe434513c7973d4148f652d5d.tar.gz
Make includes more specific and complement them
-rw-r--r--plugins/check_load.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index dafe8cc4..cdb368a9 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -32,10 +32,12 @@ const char *progname = "check_load";
32const char *copyright = "1999-2007"; 32const char *copyright = "1999-2007";
33const char *email = "devel@monitoring-plugins.org"; 33const char *email = "devel@monitoring-plugins.org";
34 34
35#include "common.h" 35#include "./common.h"
36#include "runcmd.h" 36#include "./runcmd.h"
37#include "utils.h" 37#include "./utils.h"
38#include "popen.h" 38#include "./popen.h"
39
40#include <string.h>
39 41
40#ifdef HAVE_SYS_LOADAVG_H 42#ifdef HAVE_SYS_LOADAVG_H
41#include <sys/loadavg.h> 43#include <sys/loadavg.h>