summaryrefslogtreecommitdiff
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
commit2ffd3246fa05a177d569eef30c683d65c37a85ba (patch)
treeeca1f836b7d47260b73baf49a2de5ae13936bea8 /opcodes/cgen-opc.c
parentde29f34c7aa505f4d930b4279cfef142d4a975c3 (diff)
downloadbinutils-redhat-2ffd3246fa05a177d569eef30c683d65c37a85ba.tar.gz
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 bcf0309e17..14936b3d1c 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