summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-07 21:31:59 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-07 21:31:59 (GMT)
commit09923e8a0ffd3540f7c950743ef6b60ea85fe9cd (patch)
tree11c12f80d8a9c98a50dc4eb7ffb2c85cd80065a2
parent2a7ee15b7054d0b816533b1aea766b9065aff810 (diff)
downloadmonitoring-plugins-09923e8a0ffd3540f7c950743ef6b60ea85fe9cd.tar.gz
Fix missing include in plugins/runcmd.crefs/pull/1933/head
-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)