fixed decimal number parsing
[libfirm] / ir / stat / pattern.c
index d11cc11..a81145d 100644 (file)
@@ -1,6 +1,11 @@
 /*
  * pattern history
  */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <assert.h>
 #include <stdlib.h>
 #include <limits.h>
@@ -364,7 +369,7 @@ static int _encode_node(ir_node *node, int max_depth, codec_env_t *env) {
        int i, preds;
        int res, depth;
 
-       opcode code = get_irn_opcode(node);
+       ir_opcode code = get_irn_opcode(node);
 
        /* insert the node into our ID map */
        entry.addr = node;