about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>