[PATCH] Include libiberty.h in bfdio.c
Jan Beulich
jbeulich@suse.com
Thu Jan 8 16:23:32 GMT 2026
On 08.01.2026 17:18, Tom Tromey wrote:
> On my Fedora 41 machine, a cross-hosted mingw build fails with:
>
> ../../binutils-gdb/bfd/bfdio.c:249:50: error: implicit declaration of function 'ARRAY_SIZE'; did you mean 'ARRAYSIZE'? [-Wimplicit-function-declaration]
>
> Including libiberty.h in bfdio.c fixes the failure.
> ---
> bfd/bfdio.c | 1 +
> 1 file changed, 1 insertion(+)
May count as obvious, but just in case: Okay. Sorry, it must have been my
recent patch that caused the issue.
Jan
More information about the Binutils
mailing list