about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h1
-rw-r--r--include/forkserver.h5
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