diff options
author | fuzzah <60884276+fuzzah@users.noreply.github.com> | 2021-01-27 05:48:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 05:48:59 +0300 |
commit | a754694ac4fa7b4016fb9de3253b0f3fe691fdf1 (patch) | |
tree | c2f45c21f0b4d49035a2724614c125f8b2a1a21c | |
parent | 36b5336152cd886d911f4299c3154b7817c94838 (diff) | |
download | afl++-a754694ac4fa7b4016fb9de3253b0f3fe691fdf1.tar.gz |
include limits.h to fix build on BSD systems
-rw-r--r-- | src/afl-ld-lto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afl-ld-lto.c b/src/afl-ld-lto.c index 49c04e4a..1fb01600 100644 --- a/src/afl-ld-lto.c +++ b/src/afl-ld-lto.c @@ -45,6 +45,11 @@ #include <dirent.h> +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ + defined(__DragonFly__) + #include <limits.h> +#endif + #ifdef __APPLE__ #include <sys/syslimits.h> #endif |