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.
This commit is contained in:
Amaury Denoyelle 2021-12-07 17:27:47 +01:00
parent db44338473
commit 9beb387dd1

View File

@ -6,7 +6,7 @@
#error "Must define USE_OPENSSL"
#endif
#include <haproxy/bug.h>
#include <haproxy/api.h>
#include <haproxy/mux_quic-t.h>
void quic_mux_transport_params_update(struct qcc *qcc);