about summary refs log tree commit diff
path: root/include/afl-fuzz.h
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2020-05-09 23:21:26 +0100
committerGitHub <noreply@github.com>2020-05-10 00:21:26 +0200
commit515de0d68d30a4e69fe5fb971c622391185fc4ba (patch)
tree0a69ca39b459d5ecd6c59538f2766c73cb79f9e5 /include/afl-fuzz.h
parent1eeb6785adb1daba4970c923a3e9344c294deebd (diff)
downloadafl++-515de0d68d30a4e69fe5fb971c622391185fc4ba.tar.gz
Illumos biuld fix (#357)
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 7aed41d6..9f306b7e 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -33,7 +33,9 @@
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE 1
 #endif
+#ifndef _FILE_OFFSET_BITS
 #define _FILE_OFFSET_BITS 64
+#endif
 
 #ifdef __ANDROID__
 #include "android-ashmem.h"