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 /include | |
| 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 'include')
| -rw-r--r-- | include/afl-fuzz.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 9d71e20f..2f712806 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -66,7 +66,9 @@ #include <sys/wait.h> #include <sys/time.h> +#ifndef USEMMAP #include <sys/shm.h> +#endif #include <sys/stat.h> #include <sys/types.h> #include <sys/resource.h> |
