about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDavid Manouchehri <manouchehri@riseup.net>2020-12-26 14:23:59 -0500
committerGitHub <noreply@github.com>2020-12-26 20:23:59 +0100
commit4af0065f4a7518f7df8f8b49c40127e2e674a760 (patch)
treeb70bc17cf5d1787590b4a4ed2c89326862d21057 /src
parent0b9ca807f2a5e1ef6f43a8cb95356ed21ba3a3e5 (diff)
downloadafl++-4af0065f4a7518f7df8f8b49c40127e2e674a760.tar.gz
Fix missing include for macOS. (#660)
Diffstat (limited to 'src')
-rw-r--r--src/afl-ld-lto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-ld-lto.c b/src/afl-ld-lto.c
index 16feaa80..19491036 100644
--- a/src/afl-ld-lto.c
+++ b/src/afl-ld-lto.c
@@ -45,6 +45,10 @@
 
 #include <dirent.h>
 
+#ifdef __APPLE__
+#include <sys/syslimits.h>
+#endif
+
 #define MAX_PARAM_COUNT 4096
 
 static u8 **ld_params;              /* Parameters passed to the real 'ld'   */