aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
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/elf-bfd.h
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/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 2 insertions, 0 deletions
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"