* solaris2.h: Get the definition of alloca from alloca.h if we
authorStu Grossman <grossman@cygnus>
Fri, 23 Oct 1992 08:47:28 +0000 (08:47 +0000)
committerStu Grossman <grossman@cygnus>
Fri, 23 Oct 1992 08:47:28 +0000 (08:47 +0000)
aren't using gcc.

bfd/hosts/solaris2.h

index b1ec809b536503385551fd6267141f3158dc0185..d32b7a67f77fdf3b5848e270ef732aa84c5e00fb 100644 (file)
@@ -2,4 +2,7 @@
 
 #include "hosts/sysv4.h"
 
+#ifndef __GNUC__
+#include <alloca.h>
+#endif
 /* That's all... */