X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfff2c60b2c860c2bc466bdab94daf770d86aec5..86d4dcea853d7e37ff2615b793e3cb5dce7e3af0:/sbr/ext_hook.c diff --git a/sbr/ext_hook.c b/sbr/ext_hook.c index 1ee9c170..cbd0f1af 100644 --- a/sbr/ext_hook.c +++ b/sbr/ext_hook.c @@ -6,7 +6,11 @@ * Only produce the error message once. */ -#include +#include "h/mh.h" +#include "ext_hook.h" +#include "context_find.h" +#include "pidstatus.h" +#include "arglist.h" #include "error.h" int @@ -17,7 +21,7 @@ ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2) int status; /* exit or other child process status */ char **vec; /* argument vector for child process */ int vecp; /* Vector index */ - char *program; /* Name of program to execute */ + char *program; /* Name of program to execute */ static bool did_message; /* set if we've already output a message */