projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230c545
)
ppc_flags: include more headers for uname, openat, etc.
author
Jacob Lifshay
<programmerjake@gmail.com>
Sun, 3 Dec 2023 08:44:48 +0000
(
00:44
-0800)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Wed, 13 Dec 2023 00:59:12 +0000
(16:59 -0800)
src/openpower/syscalls/ppc_flags.py
patch
|
blob
|
history
diff --git
a/src/openpower/syscalls/ppc_flags.py
b/src/openpower/syscalls/ppc_flags.py
index b92971fc3e18b03ddf24ed3cea8a937fc92ac962..13da5ec2754a19e740f042243b27392253531e1e 100644
(file)
--- a/
src/openpower/syscalls/ppc_flags.py
+++ b/
src/openpower/syscalls/ppc_flags.py
@@
-17,6
+17,10
@@
def parse_defines(flags, compiler):
#include <errno.h>
#include <unistd.h>
#include <sys/syscall.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <linux/utsname.h>
"""
if isinstance(compiler, str):
compiler = [compiler]