Add support to embed Capstone 3.x branch into OS X kernel extensions.
diff --git a/SStream.c b/SStream.c
index 05c2476..96fd85c 100644
--- a/SStream.c
+++ b/SStream.c
@@ -3,7 +3,11 @@
 
 #include <stdint.h>
 #include <stdarg.h>
+#if defined(CAPSTONE_HAS_OSXKERNEL)
+#include <libkern/libkern.h>
+#else
 #include <stdio.h>
+#endif
 #include <string.h>
 
 #include "SStream.h"