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-run.c | |
parent | 8241ded12ecdc4a28d3a99c37ac8cb420f724a86 (diff) | |
download | afl++-9a5ea5b5c235b236a9c026230133fc2ad014f89d.tar.gz |
workaround for Solaris: NAME_MAX is not defined
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 60086bd6..32cca579 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -28,6 +28,9 @@ #include <sys/time.h> #include <signal.h> #include <limits.h> +#if !defined NAME_MAX +#define NAME_MAX _XOPEN_NAME_MAX +#endif #include "cmplog.h" |