mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-27 20:41:34 +01:00
Building with TCC caused a warning on __attribute__() being redefined, because we do define it on compilers that don't have it, but we didn't include the compiler's definitions first to leave it a chance to expose its definitions. The correct way to do this would be to include sys/cdefs.h but we currently don't include it explicitly and a few reports on the net mention some platforms where it could be missing by default. Let's use inttypes.h instead, it always causes it (or its equivalent) to be included and we know it's present on supported platforms since we already depend on it. No backport is needed.