Merge pull request #867 from vit9696/patch-1

Fix compilation from within a macOS kernel extension
This commit is contained in:
Nguyen Anh Quynh 2017-03-08 20:53:02 +08:00 committed by GitHub
commit 37718a8bd1

View File

@ -4,7 +4,11 @@
#ifndef CS_UTILS_H
#define CS_UTILS_H
#if defined(CAPSTONE_HAS_OSXKERNEL)
#include <libkern/libkern.h>
#else
#include <stddef.h>
#endif
#include "include/capstone.h"
#include "cs_priv.h"