about summary refs log tree commit diff
path: root/include/forkserver.h
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-04-12 15:55:52 +0100
committerGitHub <noreply@github.com>2020-04-12 16:55:52 +0200
commit79195454993b6cfff6b03354dbf1e045e77f83cb (patch)
tree314795c419d2d78d7f043df4bc0d42a5c09e5b8f /include/forkserver.h
parent5a8db5954cac56cffa4f0066476db210dca4d330 (diff)
downloadafl++-79195454993b6cfff6b03354dbf1e045e77f83cb.tar.gz
Better solution for ARM64 build fix (#315)
Diffstat (limited to 'include/forkserver.h')
-rw-r--r--include/forkserver.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/forkserver.h b/include/forkserver.h
index 77fcc126..444f92df 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -29,7 +29,6 @@
 #define __AFL_FORKSERVER_H
 
 #include <stdio.h>
-#include <inttypes.h>
 
 typedef struct afl_forkserver {
 
@@ -98,9 +97,9 @@ void afl_fsrv_killall();
 #endif
 
 #ifdef RLIMIT_AS
-#define MSG_ULIMIT_USAGE "      ( ulimit -Sv $[%" PRIu64 " << 10];"
+#define MSG_ULIMIT_USAGE "      ( ulimit -Sv $[%llu << 10];"
 #else
-#define MSG_ULIMIT_USAGE "      ( ulimit -Sd $[%" PRIu64 " << 10];"
+#define MSG_ULIMIT_USAGE "      ( ulimit -Sd $[%llu << 10];"
 #endif                                                        /* ^RLIMIT_AS */
 
 #endif