diff options
author | waja <waja@users.noreply.github.com> | 2023-06-28 16:38:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 16:38:43 +0200 |
commit | 4f4dd3a7a342f79dbd40e5636a5808f80ef6ed7b (patch) | |
tree | 9548b86fb65286fc3dd457b85dc296c5cfc5d019 /plugins/runcmd.c | |
parent | 6d341c40ab4d84d5eabfd672de1ffa3c7ecd07be (diff) | |
parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
download | monitoring-plugins-4f4dd3a.tar.gz |
Merge branch 'master' into compiler_warning_part_5
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 ff1987fd..102191e4 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) |