aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 21:18:11 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-26 21:02:38 -0400
commit3955e3467074a3a6cc243f2af5a29e17aa08ab4e (patch)
tree74d735abd84b0589b720db6a35b93dcf80ed14ac /bfd
parent674c58574b31468fd56ecd3ad81b5167820e1911 (diff)
downloadgdb-3955e3467074a3a6cc243f2af5a29e17aa08ab4e.zip
gdb-3955e3467074a3a6cc243f2af5a29e17aa08ab4e.tar.gz
gdb-3955e3467074a3a6cc243f2af5a29e17aa08ab4e.tar.bz2
bfd: add stdlib.h when using abort
Since this file calls abort() now, we need to include stdlib.h for its prototype.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf-bfd.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 45397ef..721fddc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-26 Mike Frysinger <vapier@gentoo.org>
+
+ * elf-bfd.h: Include stdlib.h.
+
2021-04-26 Jan Beulich <jbeulich@suse.com>
* elf32-i386.c (elf_howto_table): Switch R_386_PC16 to
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 5a2f642..fb26837 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -22,6 +22,8 @@
#ifndef _LIBELF_H_
#define _LIBELF_H_ 1
+#include <stdlib.h>
+
#include "elf/common.h"
#include "elf/external.h"
#include "elf/internal.h"