aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/hosts/sparc-ll.h1
-rw-r--r--bfd/hosts/sparc.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h
index 78ad5db..1f7c695 100644
--- a/bfd/hosts/sparc-ll.h
+++ b/bfd/hosts/sparc-ll.h
@@ -9,6 +9,7 @@
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
+#include <alloca.h>
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index 1239406..3ae9af6 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -6,6 +6,7 @@
#include <ctype.h>
#include <string.h>
#include <sys/file.h>
+#include <alloca.h>
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif