From: Amaury Denoyelle Date: Tue, 7 Dec 2021 16:27:47 +0000 (+0100) Subject: BUILD: mux-quic: fix compilation with DEBUG_MEM_STATS X-Git-Tag: v2.6-dev1~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9beb387dd1502e016766388c5b2583116574d331;p=thirdparty%2Fhaproxy.git BUILD: mux-quic: fix compilation with DEBUG_MEM_STATS Replace bug.h by api.h in mux_quic header. This is required because bug.h uses atomic operations when compiled with DEBUG_MEM_STATS. api.h takes care of including atomic.h before bug.h. --- diff --git a/include/haproxy/mux_quic.h b/include/haproxy/mux_quic.h index 9e7ef175f0..8a4b7ee901 100644 --- a/include/haproxy/mux_quic.h +++ b/include/haproxy/mux_quic.h @@ -6,7 +6,7 @@ #error "Must define USE_OPENSSL" #endif -#include +#include #include void quic_mux_transport_params_update(struct qcc *qcc);