about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-05-26 22:42:14 +0200
committervanhauser-thc <vh@thc.org>2021-05-26 22:42:14 +0200
commit64d9b7dd21aec84658f6ab89eee0455e98bdbc98 (patch)
treee9f29d9963ab11a0966b36045fe2e7288b5cb7c7 /src
parent2210472784ca070a1d3b52fbc52da12a612f0d26 (diff)
downloadafl++-64d9b7dd21aec84658f6ab89eee0455e98bdbc98.tar.gz
fix for MacOS
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index bb970e5f..4cd38d78 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -35,6 +35,10 @@
   #include <sys/shm.h>
 #endif
 
+#ifdef __APPLE__
+  #include <sys/qos.h>
+#endif
+
 #ifdef PROFILING
 extern u64 time_spent_working;
 #endif