Re: [PATCH 1/2] BUILD: Include stdlib.h in compiler.h if DEBUG_USE_ABORT is set

2021-01-27 Thread Christopher Faulet
Le 26/01/2021 à 19:24, Tim Duesterhus a écrit : Building with `"DEBUG=-DDEBUG_STRICT=1 -DDEBUG_USE_ABORT=1"` previously emitted the warning: In file included from include/haproxy/api.h:35:0, from src/mux_pt.c:13: include/haproxy/buf.h: In function ‘br_init’:

[PATCH 1/2] BUILD: Include stdlib.h in compiler.h if DEBUG_USE_ABORT is set

2021-01-26 Thread Tim Duesterhus
Building with `"DEBUG=-DDEBUG_STRICT=1 -DDEBUG_USE_ABORT=1"` previously emitted the warning: In file included from include/haproxy/api.h:35:0, from src/mux_pt.c:13: include/haproxy/buf.h: In function ‘br_init’: include/haproxy/bug.h:42:90: warning: implicit