commit | dc59d17b9194bbce8f57661f2f41cfa926c46d35 | [log] [tgz] |
---|---|---|
author | vit9696 <4348897+vit9696@users.noreply.github.com> | Thu Jun 14 00:59:39 2018 +0300 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Jun 13 22:14:19 2018 +0800 |
tree | b0199e3116719cc37f6fe3b62d9af4664f7559af | |
parent | 70677f5e63dc80338d09fccda64ba9b42c406a21 [diff] |
macOS kernel has no limits.h but i386/limits.h (#1172)
diff --git a/SStream.c b/SStream.c index 269bec5..71d65f2 100644 --- a/SStream.c +++ b/SStream.c
@@ -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>