X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/69819af4834557e60c33bb378e29cf3d4e8269f8..86d4dcea853d7e37ff2615b793e3cb5dce7e3af0:/sbr/ext_hook.c diff --git a/sbr/ext_hook.c b/sbr/ext_hook.c index b88be2db..cbd0f1af 100644 --- a/sbr/ext_hook.c +++ b/sbr/ext_hook.c @@ -6,7 +6,12 @@ * 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 ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2) @@ -16,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 */