about summary refs log tree commit diff
path: root/src/afl-tmin.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-14 17:38:17 +0200
committerGitHub <noreply@github.com>2020-06-14 17:38:17 +0200
commit741dce3ca6e3406b75576ad097e1209ca40a26ad (patch)
tree4a577af893d3a7083ec3ae827e2d557b6374d3e4 /src/afl-tmin.c
parentab142282a32f93725926d59899ab17a62e65f060 (diff)
parent67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (diff)
downloadafl++-741dce3ca6e3406b75576ad097e1209ca40a26ad.tar.gz
Merge pull request #404 from devnexen/haiku_porting
Porting to Haiku.
Diffstat (limited to 'src/afl-tmin.c')
-rw-r--r--src/afl-tmin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index 609f61d1..5a28ba79 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -54,7 +54,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>