diff --git a/plugins/sudoers/regress/iolog_path/check_iolog_path.c b/plugins/sudoers/regress/iolog_path/check_iolog_path.c index ee094d926..f8079adb1 100644 --- a/plugins/sudoers/regress/iolog_path/check_iolog_path.c +++ b/plugins/sudoers/regress/iolog_path/check_iolog_path.c @@ -50,6 +50,7 @@ struct sudo_user sudo_user; struct passwd *list_pw; +sudo_conv_t sudo_conv; /* NULL in non-plugin */ static char sessid[7]; diff --git a/plugins/sudoers/regress/logging/check_wrap.c b/plugins/sudoers/regress/logging/check_wrap.c index 6144b1074..2b9b8a22c 100644 --- a/plugins/sudoers/regress/logging/check_wrap.c +++ b/plugins/sudoers/regress/logging/check_wrap.c @@ -40,6 +40,9 @@ #include "missing.h" #include "error.h" +#include "sudo_plugin.h" + +sudo_conv_t sudo_conv; /* NULL in non-plugin */ extern void writeln_wrap(FILE *fp, char *line, size_t len, size_t maxlen); diff --git a/plugins/sudoers/regress/parser/check_addr.c b/plugins/sudoers/regress/parser/check_addr.c index 3cc52694d..a73de59c7 100644 --- a/plugins/sudoers/regress/parser/check_addr.c +++ b/plugins/sudoers/regress/parser/check_addr.c @@ -55,6 +55,8 @@ static int check_addr_printf(int msg_type, const char *fmt, ...); struct interface *interfaces; sudo_printf_t sudo_printf = check_addr_printf; +sudo_conv_t sudo_conv; /* NULL in non-plugin */ + static int check_addr(char *input) { diff --git a/plugins/sudoers/regress/parser/check_fill.c b/plugins/sudoers/regress/parser/check_fill.c index 39efad819..e0f39214f 100644 --- a/plugins/sudoers/regress/parser/check_fill.c +++ b/plugins/sudoers/regress/parser/check_fill.c @@ -26,6 +26,11 @@ # include # endif #endif /* STDC_HEADERS */ +#ifdef HAVE_STDBOOL_H +# include +#else +# include "compat/stdbool.h" +#endif /* HAVE_STDBOOL_H */ #ifdef HAVE_STRING_H # include #endif /* HAVE_STRING_H */ @@ -40,12 +45,15 @@ #include "list.h" #include "parse.h" #include "toke.h" +#include "sudo_plugin.h" #include /* * TODO: test realloc */ +sudo_conv_t sudo_conv; /* NULL in non-plugin */ + YYSTYPE yylval; struct fill_test {