]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: atomic: atomic.h may need compiler.h on ARMv8.2-a
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 07:32:57 +0000 (08:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 07:36:24 +0000 (08:36 +0100)
commit5ab3c61932af7619518169da744ba6346f060405
tree32b04c4a6e10a8794256a599496ed8560fd86dec
parent57c3e75d4e367d75643ccf888b17ad645b14866e
BUILD: atomic: atomic.h may need compiler.h on ARMv8.2-a

We get a build error in ncbuf.c when building for ARMv8.2-a because ncbuf
has minimal includes and among them bug.h which includes atomic.h. Atomic.h
may use "forceinline" without including compiler.h, hence the build error.
It was verified that adding it doesn't inflate the total headers.

Since all other C files include api.h which already covers this, there's
no real need to bapkport this. The issue was already there in 2.3 though.
include/haproxy/atomic.h