Add support to embed Capstone 3.x branch into OS X kernel extensions.
diff --git a/MCInst.c b/MCInst.c
index 2991c71..17cbcf2 100644
--- a/MCInst.c
+++ b/MCInst.c
@@ -1,8 +1,12 @@
 /* Capstone Disassembly Engine */
 /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
 
+#if defined(CAPSTONE_HAS_OSXKERNEL)
+#include <libkern/libkern.h>
+#else
 #include <stdio.h>
 #include <stdlib.h>
+#endif
 #include <string.h>
 
 #include "MCInst.h"