From: Nick Clifton Date: Thu, 21 Dec 2000 18:43:33 +0000 (+0000) Subject: Fix for compiling under Solaris 2.8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6cff3e31708b4a568315b9218ebb95259649c66;p=binutils-gdb.git Fix for compiling under Solaris 2.8 --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 3afae31d050..cd9239c28ca 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2000-12-21 Santeri Paavolainen + + * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined. + 2000-12-16 Nick Clifton * Makefile.in: Regenerate. diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c index bcf0309e17d..14936b3d1c5 100644 --- a/opcodes/cgen-opc.c +++ b/opcodes/cgen-opc.c @@ -27,6 +27,10 @@ #include "symcat.h" #include "opcode/cgen.h" +#ifdef HAVE_ALLOCA_H +#include +#endif + static unsigned int hash_keyword_name PARAMS ((const CGEN_KEYWORD *, const char *, int)); static unsigned int hash_keyword_value