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 d2e82d0c44
commit c0943009a9
1 changed files with 2 additions and 1 deletions

View File

@ -7,11 +7,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 <platform.h>