load_elf: copy linux's auxv, argv, and env layout
[openpower-isa.git] / src / openpower / syscalls / ppc_flags.py
index 7f2fe507efc5983f48d92759ba4f115525ae6af5..1abf15c8c3b0a65152e56d49ed9033700263f243 100644 (file)
@@ -22,6 +22,7 @@ def parse_defines(flags, compiler):
 #include <fcntl.h>
 #include <linux/utsname.h>
 #include <linux/auxvec.h>
+#include <sys/auxv.h>
 """
     if isinstance(compiler, str):
         compiler = [compiler]