From: Mike Frysinger Date: Mon, 19 Apr 2021 01:18:11 +0000 (-0400) Subject: bfd: add stdlib.h when using abort X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3955e3467074a3a6cc243f2af5a29e17aa08ab4e;p=binutils-gdb.git bfd: add stdlib.h when using abort Since this file calls abort() now, we need to include stdlib.h for its prototype. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 45397ef04b9..721fddc935d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2021-04-26 Mike Frysinger + + * elf-bfd.h: Include stdlib.h. + 2021-04-26 Jan Beulich * elf32-i386.c (elf_howto_table): Switch R_386_PC16 to diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 5a2f64233f9..fb2683724e1 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -22,6 +22,8 @@ #ifndef _LIBELF_H_ #define _LIBELF_H_ 1 +#include + #include "elf/common.h" #include "elf/external.h" #include "elf/internal.h"