aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index aef053953..b30366a87 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -5271,6 +5271,8 @@ static long handle_clone_ret(long ret)
#endif
#if SYZ_EXECUTOR || __NR_syz_clone
+#include <sched.h>
+
// syz_clone is mostly needed on kernels which do not suport clone3.
static long syz_clone(volatile long flags, volatile long stack, volatile long stack_len,
volatile long ptid, volatile long ctid, volatile long tls)