aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-opc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-21 18:43:33 +0000
committerNick Clifton <nickc@redhat.com>2000-12-21 18:43:33 +0000
commita6cff3e31708b4a568315b9218ebb95259649c66 (patch)
tree042753861cf915e314406b75b24f6d368394011e /opcodes/cgen-opc.c
parent23ccc829e251d20c40a4337d2ae6057a0bb951aa (diff)
downloadgdb-a6cff3e31708b4a568315b9218ebb95259649c66.zip
gdb-a6cff3e31708b4a568315b9218ebb95259649c66.tar.gz
gdb-a6cff3e31708b4a568315b9218ebb95259649c66.tar.bz2
Fix for compiling under Solaris 2.8
Diffstat (limited to 'opcodes/cgen-opc.c')
-rw-r--r--opcodes/cgen-opc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/cgen-opc.c b/opcodes/cgen-opc.c
index bcf0309..14936b3 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 <alloca.h>
+#endif
+
static unsigned int hash_keyword_name
PARAMS ((const CGEN_KEYWORD *, const char *, int));
static unsigned int hash_keyword_value