summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86')
-rw-r--r--libc/arch-x86/bionic/_exit_with_stack_teardown.S2
-rw-r--r--libc/arch-x86/bionic/clone.S2
-rw-r--r--libc/arch-x86/bionic/futex_x86.S2
-rw-r--r--libc/arch-x86/bionic/syscall.S2
4 files changed, 4 insertions, 4 deletions
diff --git a/libc/arch-x86/bionic/_exit_with_stack_teardown.S b/libc/arch-x86/bionic/_exit_with_stack_teardown.S
index e2bb6ad..aad3f0b 100644
--- a/libc/arch-x86/bionic/_exit_with_stack_teardown.S
+++ b/libc/arch-x86/bionic/_exit_with_stack_teardown.S
@@ -1,5 +1,5 @@
+#include <asm/unistd.h>
#include <machine/asm.h>
-#include <sys/linux-syscalls.h>
// void _exit_with_stack_teardown(void *stackBase, int stackSize, int *retCode)
ENTRY(_exit_with_stack_teardown)
diff --git a/libc/arch-x86/bionic/clone.S b/libc/arch-x86/bionic/clone.S
index 80e3c75..457cb4a 100644
--- a/libc/arch-x86/bionic/clone.S
+++ b/libc/arch-x86/bionic/clone.S
@@ -1,5 +1,5 @@
+#include <asm/unistd.h>
#include <machine/asm.h>
-#include <sys/linux-syscalls.h>
// int __pthread_clone(void* (*fn)(void*), void* tls, int flags, void* arg);
ENTRY(__pthread_clone)
diff --git a/libc/arch-x86/bionic/futex_x86.S b/libc/arch-x86/bionic/futex_x86.S
index 36a28e8..fa33758 100644
--- a/libc/arch-x86/bionic/futex_x86.S
+++ b/libc/arch-x86/bionic/futex_x86.S
@@ -1,5 +1,5 @@
+#include <asm/unistd.h>
#include <machine/asm.h>
-#include <sys/linux-syscalls.h>
#define FUTEX_WAIT 0
#define FUTEX_WAKE 1
diff --git a/libc/arch-x86/bionic/syscall.S b/libc/arch-x86/bionic/syscall.S
index ef816b6..4452da4 100644
--- a/libc/arch-x86/bionic/syscall.S
+++ b/libc/arch-x86/bionic/syscall.S
@@ -10,8 +10,8 @@
* %ebp: arg5 - callee save
*/
+#include <asm/unistd.h>
#include <machine/asm.h>
-#include <sys/linux-syscalls.h>
ENTRY(syscall)
# Push the callee save registers.