about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-31 18:42:06 +0200
committerGitHub <noreply@github.com>2020-07-31 18:42:06 +0200
commitca17ec3fe921c28ffab5e8a16a355b4dd05a257d (patch)
treefc4bbbf1a0c8b60d1bd02222bff297256552cb15 /include/afl-fuzz.h
parent16b674c6523e151368443948b27c5e4aa6a3c7ee (diff)
parent54d96685808bd7b47de30f5028727d94b5369962 (diff)
downloadafl++-ca17ec3fe921c28ffab5e8a16a355b4dd05a257d.tar.gz
Merge pull request #481 from devnexen/haiku_settings
Haiku set explicitly to performance.
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h5
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... */