aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-23 08:47:28 +0000
committerStu Grossman <grossman@cygnus>1992-10-23 08:47:28 +0000
commit79d47bd0972bd78ed69e294e7c010e28b748545d (patch)
treeccb639b6604914603c1844430a1a49ed5bc59eb6 /bfd/hosts
parentc50c519792a2f283cef6fd09e9196d07d031ee18 (diff)
downloadfsf-binutils-gdb-79d47bd0972bd78ed69e294e7c010e28b748545d.zip
fsf-binutils-gdb-79d47bd0972bd78ed69e294e7c010e28b748545d.tar.gz
fsf-binutils-gdb-79d47bd0972bd78ed69e294e7c010e28b748545d.tar.bz2
* solaris2.h: Get the definition of alloca from alloca.h if we
aren't using gcc.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/solaris2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/hosts/solaris2.h b/bfd/hosts/solaris2.h
index b1ec809..d32b7a6 100644
--- a/bfd/hosts/solaris2.h
+++ b/bfd/hosts/solaris2.h
@@ -2,4 +2,7 @@
#include "hosts/sysv4.h"
+#ifndef __GNUC__
+#include <alloca.h>
+#endif
/* That's all... */