Fix for compiling under Solaris 2.8
authorNick Clifton <nickc@redhat.com>
Thu, 21 Dec 2000 18:43:33 +0000 (18:43 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 21 Dec 2000 18:43:33 +0000 (18:43 +0000)
opcodes/ChangeLog
opcodes/cgen-opc.c

index 3afae31..cd9239c 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-21  Santeri Paavolainen <santtu@ssh.com>
+
+       * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
+
 2000-12-16  Nick Clifton  <nickc@redhat.com>
 
        * Makefile.in: Regenerate.
index bcf0309..14936b3 100644 (file)
 #include "symcat.h"
 #include "opcode/cgen.h"
 
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
 static unsigned int hash_keyword_name
   PARAMS ((const CGEN_KEYWORD *, const char *, int));
 static unsigned int hash_keyword_value