diff options
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64emu.c | 1 | ||||
| -rw-r--r-- | src/emu/x64int3.c | 7 | ||||
| -rw-r--r-- | src/emu/x64run.c | 1 | ||||
| -rw-r--r-- | src/emu/x64syscall.c | 1 | ||||
| -rwxr-xr-x | src/emu/x86int3.c | 1 | ||||
| -rw-r--r-- | src/emu/x86syscall_32.c | 3 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/x64emu.c b/src/emu/x64emu.c index 65aefa6f..05ff1393 100644 --- a/src/emu/x64emu.c +++ b/src/emu/x64emu.c @@ -7,6 +7,7 @@ #include <sys/time.h> #include <sys/mman.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c index e6de68fa..6c1d5d92 100644 --- a/src/emu/x64int3.c +++ b/src/emu/x64int3.c @@ -6,7 +6,6 @@ #include <string.h> #include <errno.h> #include <unistd.h> -#include <sys/syscall.h> #include <sys/types.h> #include <pthread.h> #include <signal.h> @@ -14,6 +13,7 @@ #include <sys/wait.h> #include <elf.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" @@ -401,11 +401,6 @@ void x64Int3(x64emu_t* emu, uintptr_t* addr) //emu->quit = 1; } -int GetTID() -{ - return syscall(SYS_gettid); -} - void print_rolling_log(int loglevel) { if(BOX64ENV(rolling_log)) { printf_log(loglevel, "Last calls\n"); diff --git a/src/emu/x64run.c b/src/emu/x64run.c index 0fd35d2d..ad1db962 100644 --- a/src/emu/x64run.c +++ b/src/emu/x64run.c @@ -8,6 +8,7 @@ #include <sys/types.h> #include <unistd.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index 2b9212ed..f3d80b03 100644 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -22,6 +22,7 @@ #include <poll.h> #include <sys/epoll.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" diff --git a/src/emu/x86int3.c b/src/emu/x86int3.c index 65b13902..24887f37 100755 --- a/src/emu/x86int3.c +++ b/src/emu/x86int3.c @@ -11,6 +11,7 @@ #include <pthread.h> #include <signal.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" diff --git a/src/emu/x86syscall_32.c b/src/emu/x86syscall_32.c index 31f07aad..b8c4e1cb 100644 --- a/src/emu/x86syscall_32.c +++ b/src/emu/x86syscall_32.c @@ -22,8 +22,9 @@ #endif #include <sys/resource.h> #include <poll.h> -#include <linux/futex.h> +#include <linux/futex.h> +#include "os.h" #include "debug.h" #include "box64stack.h" #include "x64emu.h" |