diff options
author | waja <waja@users.noreply.github.com> | 2023-06-28 16:38:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 16:38:22 +0200 |
commit | 9ef6660cab8eb2b017323b9e000cb3560f07886b (patch) | |
tree | e88c70524d4289bbe175f3601e20704690f29f28 /plugins/runcmd.c | |
parent | b4e578e2cd835221ee343e56923588828d36f99b (diff) | |
parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
download | monitoring-plugins-9ef6660cab8eb2b017323b9e000cb3560f07886b.tar.gz |
Merge branch 'master' into compiler_warning_part_6
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) |