diff options
author | begasus <begasus@gmail.com> | 2021-04-04 17:41:43 +0000 |
---|---|---|
committer | begasus <begasus@gmail.com> | 2021-04-04 17:41:43 +0000 |
commit | 845c584b9cee7092772305912508b825155142fa (patch) | |
tree | 3a3311290417452598156935cf63bf4970e43c8c /instrumentation/afl-compiler-rt.o.c | |
parent | 0709d00b10e6d23245d076120402c2c3b567edd9 (diff) | |
download | afl++-845c584b9cee7092772305912508b825155142fa.tar.gz |
Fix Haiku references, no <sys/syscall.h> and missing defines for USEMMAP
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index f241447a..fa53263c 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -34,8 +34,10 @@ #include <errno.h> #include <sys/mman.h> -#include <sys/syscall.h> #ifndef __HAIKU__ + #include <sys/syscall.h> +#endif +#ifndef USEMMAP #include <sys/shm.h> #endif #include <sys/wait.h> |