diff options
author | hexcoder- <heiko@hexco.de> | 2020-12-22 20:33:06 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-12-22 20:33:06 +0100 |
commit | 9a5ea5b5c235b236a9c026230133fc2ad014f89d (patch) | |
tree | 31227362b799a96e9c31bb4968245dc596dad8cb /src/afl-fuzz-bitmap.c | |
parent | 8241ded12ecdc4a28d3a99c37ac8cb420f724a86 (diff) | |
download | afl++-9a5ea5b5c235b236a9c026230133fc2ad014f89d.tar.gz |
workaround for Solaris: NAME_MAX is not defined
Diffstat (limited to 'src/afl-fuzz-bitmap.c')
-rw-r--r-- | src/afl-fuzz-bitmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c index a17478f0..1cb9b15f 100644 --- a/src/afl-fuzz-bitmap.c +++ b/src/afl-fuzz-bitmap.c @@ -25,6 +25,9 @@ #include "afl-fuzz.h" #include <limits.h> +#if !defined NAME_MAX +#define NAME_MAX _XOPEN_NAME_MAX +#endif /* Write bitmap to file. The bitmap is useful mostly for the secret -B option, to focus a separate fuzzing session on a particular |