From: Willy Tarreau Date: Fri, 28 Jan 2022 11:25:14 +0000 (+0100) Subject: BUILD: mworker: include tools.h for platforms without unsetenv() X-Git-Tag: v2.6-dev1~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c943fd60b0cf460d5277e2af7d8d0436191d9a4;p=thirdparty%2Fhaproxy.git BUILD: mworker: include tools.h for platforms without unsetenv() In this case we fall back to my_unsetenv() thus we need tools.h to avoid a warning. --- diff --git a/src/mworker-prog.c b/src/mworker-prog.c index 75f64c5a98..75cfc4255c 100644 --- a/src/mworker-prog.c +++ b/src/mworker-prog.c @@ -27,6 +27,7 @@ #include #include #include +#include static int use_program = 0; /* do we use the program section ? */