about summary refs log tree commit diff
path: root/src/afl-common.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-28 00:12:21 +0100
committervanhauser-thc <vh@thc.org>2021-02-28 00:12:39 +0100
commitf81ef4abf41184a24d24828841c82b98b9216ddc (patch)
treef2553710411329b6bd3cfcfe297a02d7258422cb /src/afl-common.c
parent6036cf8437853f0bd2d94bf8d959da58c80b889f (diff)
downloadafl++-f81ef4abf41184a24d24828841c82b98b9216ddc.tar.gz
fix afl-common compile
Diffstat (limited to 'src/afl-common.c')
-rw-r--r--src/afl-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index c341bb97..fa4aec7f 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -47,6 +47,10 @@ u8  be_quiet = 0;
 u8 *doc_path = "";
 u8  last_intr = 0;
 
+#ifndef AFL_PATH
+  #define AFL_PATH "/usr/local/lib/afl/"
+#endif
+
 void detect_file_args(char **argv, u8 *prog_in, bool *use_stdin) {
 
   u32 i = 0;