macOS kernel has no limits.h but i386/limits.h (#1172)
This commit is contained in:
parent
d2e82d0c44
commit
c0943009a9
|
@ -7,11 +7,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 <platform.h>
|
#include <platform.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue