summaryrefslogtreecommitdiffstats
path: root/plugins/runcmd.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-10-13 17:09:29 (GMT)
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-10-13 17:09:29 (GMT)
commitb6d3acf5e3f685d6048905d4bef84ebfbb9f4815 (patch)
tree8a4f5e2f2f28976f80ba9b5e68dd19ba917e35f4 /plugins/runcmd.c
parent41ebe4b6d9c36205577a336ae6f81567a0321267 (diff)
parentbf70f5f847e3407af572d1768cca747af270b993 (diff)
downloadmonitoring-plugins-b6d3acf5e3f685d6048905d4bef84ebfbb9f4815.tar.gz
Merge branch 'master' into check_dhcp_rogue_detectionrefs/pull/1906/head
Diffstat (limited to 'plugins/runcmd.c')
-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)