diff options
| author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-05-08 20:24:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-08 20:24:11 +0200 |
| commit | 869cca59d857fde53b5a435cb8390f54058e8687 (patch) | |
| tree | bc9aa773537691078fdac52222c0a8d34882629d /plugins/runcmd.c | |
| parent | 72d34baf718e12a88e978c69369b96baf63ef97a (diff) | |
| parent | 6c78f0b5ea82a4bea71ae2024f27d3916175a7a2 (diff) | |
| download | monitoring-plugins-869cca59d857fde53b5a435cb8390f54058e8687.tar.gz | |
Merge pull request #1866 from RincewindsHat/compiler_warning_part_1
Compiler warning part 1
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) |
