diff options
| author | David Carlier <devnexen@gmail.com> | 2020-06-14 15:26:43 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2020-06-14 15:32:02 +0000 |
| commit | 67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (patch) | |
| tree | 24a839cd715e1bc204edeff4ee886f04d7fca267 /gcc_plugin/afl-gcc-rt.o.c | |
| parent | bfe5b88e782ffd3f97c2a25da60b0b36552a6a64 (diff) | |
| download | afl++-67d87dd2a9dbc393b56162e77ff3178f4e3f59fa.tar.gz | |
Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
Diffstat (limited to 'gcc_plugin/afl-gcc-rt.o.c')
| -rw-r--r-- | gcc_plugin/afl-gcc-rt.o.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc_plugin/afl-gcc-rt.o.c b/gcc_plugin/afl-gcc-rt.o.c index f41bea17..5c94f68a 100644 --- a/gcc_plugin/afl-gcc-rt.o.c +++ b/gcc_plugin/afl-gcc-rt.o.c @@ -35,7 +35,9 @@ #include <assert.h> #include <sys/mman.h> +#ifndef USEMMAP #include <sys/shm.h> +#endif #include <sys/wait.h> #include <sys/types.h> |
