aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-11 02:55:48 +0200
committerhexcoder- <heiko@hexco.de>2019-10-11 02:55:48 +0200
commitdc311b978ee950160d362866e61a1a7d783e6666 (patch)
tree271ebafa491905d3a3ac3c605e8c524669f3ce83 /include
parentbccaf93f8b444e3cddda76057303e0ab28c1c5b3 (diff)
downloadAFLplusplus-dc311b978ee950160d362866e61a1a7d783e6666.tar.gz
fix FreeBSD compile error 'NBBY' is not defined
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index e856b23e..5da41a3e 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -82,6 +82,7 @@
#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
#define HAVE_AFFINITY 1
#if defined(__FreeBSD__)
+#include <sys/param.h>
#include <sys/cpuset.h>
#include <sys/user.h>
#include <pthread.h>