about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r--include/afl-fuzz.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 9d71e20f..2f712806 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -66,7 +66,9 @@
 
 #include <sys/wait.h>
 #include <sys/time.h>
+#ifndef USEMMAP
 #include <sys/shm.h>
+#endif
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/resource.h>