diff options
author | David CARLIER <devnexen@gmail.com> | 2020-04-12 13:20:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 14:20:10 +0200 |
commit | ee4e1936d0d1ca18147d1916e9365578627584e2 (patch) | |
tree | 0bba890eceed13ee58c90b110999396ae16ae958 /include | |
parent | ec677808549c19d22431539ff9a13498c907b4c9 (diff) | |
download | afl++-ee4e1936d0d1ca18147d1916e9365578627584e2.tar.gz |
build on arm64 fix. tested on Android. (#313)
Diffstat (limited to 'include')
-rw-r--r-- | include/afl-fuzz.h | 1 | ||||
-rw-r--r-- | include/forkserver.h | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 1440b645..58fe7c41 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -61,6 +61,7 @@ #include <termios.h> #include <dlfcn.h> #include <sched.h> +#include <inttypes.h> #include <sys/wait.h> #include <sys/time.h> diff --git a/include/forkserver.h b/include/forkserver.h index 444f92df..77fcc126 100644 --- a/include/forkserver.h +++ b/include/forkserver.h @@ -29,6 +29,7 @@ #define __AFL_FORKSERVER_H #include <stdio.h> +#include <inttypes.h> typedef struct afl_forkserver { @@ -97,9 +98,9 @@ void afl_fsrv_killall(); #endif #ifdef RLIMIT_AS -#define MSG_ULIMIT_USAGE " ( ulimit -Sv $[%llu << 10];" +#define MSG_ULIMIT_USAGE " ( ulimit -Sv $[%" PRIu64 " << 10];" #else -#define MSG_ULIMIT_USAGE " ( ulimit -Sd $[%llu << 10];" +#define MSG_ULIMIT_USAGE " ( ulimit -Sd $[%" PRIu64 " << 10];" #endif /* ^RLIMIT_AS */ #endif |