mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 05:29:53 +00:00
Fix compilation from within a macOS kernel extension. #867
This commit is contained in:
parent
52fa6009e4
commit
5e1b9282a0
4
utils.h
4
utils.h
@ -4,8 +4,12 @@
|
||||
#ifndef CS_UTILS_H
|
||||
#define CS_UTILS_H
|
||||
|
||||
#if defined(CAPSTONE_HAS_OSXKERNEL)
|
||||
#include <libkern/libkern.h>
|
||||
#else
|
||||
#include <stddef.h>
|
||||
#include "include/capstone/capstone.h"
|
||||
#endif
|
||||
#include "cs_priv.h"
|
||||
|
||||
// threshold number, so above this number will be printed in hexa mode
|
||||
|
Loading…
Reference in New Issue
Block a user