]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: mworker: include tools.h for platforms without unsetenv()
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 11:25:14 +0000 (12:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 18:04:02 +0000 (19:04 +0100)
In this case we fall back to my_unsetenv() thus we need tools.h
to avoid a warning.

src/mworker-prog.c

index 75f64c5a988cb7f6987932c92d85ea87f9b9d316..75cfc4255c90404fc4a8aa48e51094ec42c05b31 100644 (file)
@@ -27,6 +27,7 @@
 #include <haproxy/mworker.h>
 #include <haproxy/task.h>
 #include <haproxy/time.h>
+#include <haproxy/tools.h>
 
 
 static int use_program = 0; /* do we use the program section ? */