mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 19:38:09 +00:00
workaround for Solaris: NAME_MAX is not defined
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user