diff options
Diffstat (limited to 'executor/executor_bsd.cc')
| -rw-r--r-- | executor/executor_bsd.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/executor/executor_bsd.cc b/executor/executor_bsd.cc index 0e8767626..4ae2cf223 100644 --- a/executor/executor_bsd.cc +++ b/executor/executor_bsd.cc @@ -8,8 +8,6 @@ #include "executor_posix.h" -#include "executor.h" - // This file is used by both freebsd and netbsd (as a link to executor_bsd.cc). #if defined(__FreeBSD__) #include "syscalls_freebsd.h" @@ -21,6 +19,8 @@ #define __syscall syscall #endif +#include "executor.h" + #include <fcntl.h> #include <signal.h> #include <sys/ioctl.h> @@ -144,7 +144,7 @@ int main(int argc, char** argv) return 0; } -long execute_syscall(call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) +long execute_syscall(const call_t* c, long a0, long a1, long a2, long a3, long a4, long a5, long a6, long a7, long a8) { if (c->call) return c->call(a0, a1, a2, a3, a4, a5, a6, a7, a8); |
