diff options
author | waja <waja@users.noreply.github.com> | 2023-06-28 16:39:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 16:39:09 +0200 |
commit | 103217831e07f26cead065985d0d007292ffd7ea (patch) | |
tree | 418829165611b9da69b19e2bcd0c135bf08962ab /plugins/runcmd.c | |
parent | f6f2ba34c713b5bc65936af836be24ebc74faf46 (diff) | |
parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
download | monitoring-plugins-1032178.tar.gz |
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to 'plugins/runcmd.c')
-rw-r--r-- | plugins/runcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c index 1bd2ca1f..c1d675d0 100644 --- a/plugins/runcmd.c +++ b/plugins/runcmd.c | |||
@@ -44,6 +44,8 @@ | |||
44 | # include <sys/wait.h> | 44 | # include <sys/wait.h> |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #include "./utils.h" | ||
48 | |||
47 | /** macros **/ | 49 | /** macros **/ |
48 | #ifndef WEXITSTATUS | 50 | #ifndef WEXITSTATUS |
49 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 51 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |