$OpenBSD: patch-cs_c,v 1.3 2015/02/04 07:33:11 benoit Exp $

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

--- cs.c.orig	Tue Feb  3 15:41:07 2015
+++ cs.c	Wed Feb  4 08:05:44 2015
@@ -914,8 +914,8 @@ int cs_op_count(csh ud, const cs_insn *insn, unsigned 
 					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:
@@ -1000,8 +1000,8 @@ int cs_op_index(csh ud, const cs_insn *insn, unsigned 
 			}
 			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;
