aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'libc/tools')
-rwxr-xr-xlibc/tools/gensyscalls.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index bf44b7031..d0a8f273a 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -41,9 +41,7 @@ def create_file(relpath):
syscall_stub_header = "/* " + warning + " */\n" + \
"""
-#include <asm/unistd.h>
-#include <linux/err.h>
-#include <machine/asm.h>
+#include <private/bionic_asm.h>
ENTRY(%(func)s)
"""