aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"