macOS kernel has no limits.h but i386/limits.h (#1172)
This commit is contained in:
parent
70677f5e63
commit
dc59d17b91
|
@ -4,11 +4,12 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#if defined(CAPSTONE_HAS_OSXKERNEL)
|
#if defined(CAPSTONE_HAS_OSXKERNEL)
|
||||||
#include <libkern/libkern.h>
|
#include <libkern/libkern.h>
|
||||||
|
#include <i386/limits.h>
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
|
||||||
|
|
||||||
#include <capstone/platform.h>
|
#include <capstone/platform.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue