gen_syscall_header.py: fix include issue

This header uses definitions in include/syscall.h but wasn't
explicitly including it.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2018-03-26 13:45:20 -07:00 committed by Anas Nashif
parent c67eb56355
commit d5a2400b9f

View file

@ -149,6 +149,7 @@ def gen_defines(argc, kernel_only=False, user_only=False):
sys.stdout.write(
"/* Auto-generated by gen_syscall_header.py, do not edit! */\n\n")
sys.stdout.write("#ifndef GEN_SYSCALL_H\n#define GEN_SYSCALL_H\n\n")
sys.stdout.write("#include <syscall.h>\n")
for i in range(11):
sys.stdout.write(