summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-10-08 11:33:32 (GMT)
committerGitHub <noreply@github.com>2023-10-08 11:33:32 (GMT)
commit4d8f1dab571ff86af3c3cc8695683d40ef0b5a56 (patch)
tree11c12f80d8a9c98a50dc4eb7ffb2c85cd80065a2 /plugins
parent2a7ee15b7054d0b816533b1aea766b9065aff810 (diff)
parent09923e8a0ffd3540f7c950743ef6b60ea85fe9cd (diff)
downloadmonitoring-plugins-4d8f1dab571ff86af3c3cc8695683d40ef0b5a56.tar.gz
Merge pull request #1933 from RincewindsHat/compiler-warnings-werror
Fix missing include in plugins/runcmd.c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/runcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index bc0a497..4f3e349 100644
--- a/plugins/runcmd.c
+++ b/plugins/runcmd.c
@@ -60,6 +60,8 @@
60# define SIG_ERR ((Sigfunc *)-1) 60# define SIG_ERR ((Sigfunc *)-1)
61#endif 61#endif
62 62
63#include "../lib/maxfd.h"
64
63/* This variable must be global, since there's no way the caller 65/* This variable must be global, since there's no way the caller
64 * can forcibly slay a dead or ungainly running program otherwise. 66 * can forcibly slay a dead or ungainly running program otherwise.
65 * Multithreading apps and plugins can initialize it (via NP_RUNCMD_INIT) 67 * Multithreading apps and plugins can initialize it (via NP_RUNCMD_INIT)