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 3afae31d0507b841c5533eb7ba540e7a235a332c..cd9239c28ca510664ee3cc4602e4331bbfd0c7a7 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 bcf0309e17d43b4b6a67e805337ac44aa4bb9587..14936b3d1c5e5966ad9d871b910ace10fd7240d9 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