aboutsummaryrefslogtreecommitdiff
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
parentc50c519792a2f283cef6fd09e9196d07d031ee18 (diff)
downloadgdb-79d47bd0972bd78ed69e294e7c010e28b748545d.zip
gdb-79d47bd0972bd78ed69e294e7c010e28b748545d.tar.gz
gdb-79d47bd0972bd78ed69e294e7c010e28b748545d.tar.bz2
* solaris2.h: Get the definition of alloca from alloca.h if we
aren't using gcc.
-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... */