diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-08 08:14:42 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-09 10:23:37 +0200 |
commit | c57fdbedaf40ef4616d158c59a53c1d3711f77ec (patch) | |
tree | f35c6c379f1bf33efb5e2348fec660fc908348ba /gcc_plugin/afl-gcc-rt.o.c | |
parent | bd9676aa04c011d98988aa6a95d0d4d5b061ac4a (diff) | |
download | afl++-c57fdbedaf40ef4616d158c59a53c1d3711f77ec.tar.gz |
gcc_plugin fix compile for USEMMAP
Diffstat (limited to 'gcc_plugin/afl-gcc-rt.o.c')
-rw-r--r-- | gcc_plugin/afl-gcc-rt.o.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc_plugin/afl-gcc-rt.o.c b/gcc_plugin/afl-gcc-rt.o.c index 77bb5325..30606150 100644 --- a/gcc_plugin/afl-gcc-rt.o.c +++ b/gcc_plugin/afl-gcc-rt.o.c @@ -25,6 +25,9 @@ #include "../config.h" #include "../types.h" +#ifdef USEMMAP +#include <stdio.h> +#endif #include <stdlib.h> #include <signal.h> #include <unistd.h> |