From 40c93acdacf984554ac152f1b7f06ba400fde8b0 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 12 Jan 2022 16:43:21 +0000 Subject: executor: move SYSCALL_DEFINES above common_*.h includes Otherwise the pseudo syscalls there won't be able to access those definitions. --- executor/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'executor/common.h') diff --git a/executor/common.h b/executor/common.h index 95888de80..21af03189 100644 --- a/executor/common.h +++ b/executor/common.h @@ -43,6 +43,10 @@ typedef signed int ssize_t; #include #endif +#if !SYZ_EXECUTOR +/*{{{SYSCALL_DEFINES}}}*/ +#endif + #if SYZ_EXECUTOR && !GOOS_linux #if !GOOS_windows #include @@ -713,7 +717,6 @@ static void loop(void) #endif #if !SYZ_EXECUTOR -/*{{{SYSCALL_DEFINES}}}*/ /*{{{RESULTS}}}*/ -- cgit mrf-deployment