$OpenBSD: patch-cs_c,v 1.2 2014/03/16 09:45:32 benoit Exp $

The 'mips' symbol is special on MIPS platforms, so rename it to prevent a
conflict.

--- cs.c.orig	Tue Mar  4 17:35:03 2014
+++ cs.c	Mon Mar 10 12:49:14 2014
@@ -559,8 +559,8 @@
 					count++;
 			break;
 		case CS_ARCH_MIPS:
-			for (i = 0; i < insn->detail->mips.op_count; i++)
-				if (insn->detail->mips.operands[i].type == (mips_op_type)op_type)
+			for (i = 0; i < insn->detail->mipsen.op_count; i++)
+				if (insn->detail->mipsen.operands[i].type == (mips_op_type)op_type)
 					count++;
 			break;
 		case CS_ARCH_PPC:
@@ -618,8 +618,8 @@
 			}
 			break;
 		case CS_ARCH_MIPS:
-			for (i = 0; i < insn->detail->mips.op_count; i++) {
-				if (insn->detail->mips.operands[i].type == (mips_op_type)op_type)
+			for (i = 0; i < insn->detail->mipsen.op_count; i++) {
+				if (insn->detail->mipsen.operands[i].type == (mips_op_type)op_type)
 					count++;
 				if (count == post)
 					return i;
