macOS kernel has no limits.h but i386/limits.h (#1172)

This commit is contained in:
vit9696 2018-06-14 00:59:39 +03:00 committed by Nguyen Anh Quynh
parent 70677f5e63
commit dc59d17b91
1 changed files with 2 additions and 1 deletions

View File

@ -4,11 +4,12 @@
#include <stdarg.h>
#if defined(CAPSTONE_HAS_OSXKERNEL)
#include <libkern/libkern.h>
#include <i386/limits.h>
#else
#include <stdio.h>
#include <limits.h>
#endif
#include <string.h>
#include <limits.h>
#include <capstone/platform.h>