aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-01-12 16:43:21 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-01-13 17:03:14 +0100
commit40c93acdacf984554ac152f1b7f06ba400fde8b0 (patch)
tree64bed09c8614a0b9b22f47a65b9b6aa8cde067f8 /executor
parenta1cd6a69c49732b1b24bad2fab34857aaa399a60 (diff)
executor: move SYSCALL_DEFINES above common_*.h includes
Otherwise the pseudo syscalls there won't be able to access those definitions.
Diffstat (limited to 'executor')
-rw-r--r--executor/common.h5
1 files changed, 4 insertions, 1 deletions
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 <errno.h>
#endif
+#if !SYZ_EXECUTOR
+/*{{{SYSCALL_DEFINES}}}*/
+#endif
+
#if SYZ_EXECUTOR && !GOOS_linux
#if !GOOS_windows
#include <unistd.h>
@@ -713,7 +717,6 @@ static void loop(void)
#endif
#if !SYZ_EXECUTOR
-/*{{{SYSCALL_DEFINES}}}*/
/*{{{RESULTS}}}*/