aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-07-15 16:06:03 +0000
committerMichael Tiemann <tiemann@cygnus>1992-07-15 16:06:03 +0000
commitdd6cc3c938757304e686524a040b1cfa636f251c (patch)
tree8823f0098b7fc10ae01d860012dafd4c267bc356 /bfd/hosts
parentdc2239ac776e709a013ba95a5c164ec24af5aee4 (diff)
downloadfsf-binutils-gdb-dd6cc3c938757304e686524a040b1cfa636f251c.zip
fsf-binutils-gdb-dd6cc3c938757304e686524a040b1cfa636f251c.tar.gz
fsf-binutils-gdb-dd6cc3c938757304e686524a040b1cfa636f251c.tar.bz2
Add #include <alloca.h> so bfd can be built with native compiler.
Diffstat (limited to 'bfd/hosts')
-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