]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: mux-quic: fix compilation with DEBUG_MEM_STATS
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 16:27:47 +0000 (17:27 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 7 Dec 2021 16:29:39 +0000 (17:29 +0100)
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.

include/haproxy/mux_quic.h

index 9e7ef175f05c88e921799a9b99053b975c716e87..8a4b7ee9015d998436d28dcf0bb2ca26c2899899 100644 (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);