about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-09-13 15:58:06 +0100
committerGitHub <noreply@github.com>2020-09-13 16:58:06 +0200
commit3abace4f54e6768264115726ae1756377b139e6a (patch)
treeae4d5753466fc9cdc5dab60f69fc5c263b76ffb0
parent7cdbe3173ef773562e5f117d03a823cd2786a457 (diff)
downloadafl++-3abace4f54e6768264115726ae1756377b139e6a.tar.gz
Haiku build fix. (#556)
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 209cc726..2fbefd70 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -34,7 +34,9 @@
 #include <errno.h>
 
 #include <sys/mman.h>
+#ifndef __HAIKU__
 #include <sys/shm.h>
+#endif
 #include <sys/wait.h>
 #include <sys/types.h>