diff options
author | David Carlier <devnexen@gmail.com> | 2020-07-31 17:21:17 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2020-07-31 17:27:01 +0000 |
commit | 54d96685808bd7b47de30f5028727d94b5369962 (patch) | |
tree | 7dbd030ef698b784551762049f384b5b0f36d75d /include | |
parent | 185f4436598aacb3f25736ce6eb53309d1d9472f (diff) | |
download | afl++-54d96685808bd7b47de30f5028727d94b5369962.tar.gz |
Haiku set explicitly to performance.
No command line to set through afl-system-config (the only one is a GUI).
Diffstat (limited to 'include')
-rw-r--r-- | include/afl-fuzz.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index bc3f65b6..b82ddb4a 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -82,6 +82,11 @@ #include <sys/sysctl.h> #endif /* __APPLE__ || __FreeBSD__ || __OpenBSD__ */ +#if defined(__HAIKU__) + #include <kernel/OS.h> + #include <kernel/scheduler.h> +#endif + /* For systems that have sched_setaffinity; right now just Linux, but one can hope... */ |