]> granicus.if.org Git - strace/commit
x86_64, x32: add a replacement for <asm/stat.h>
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Dec 2015 15:00:37 +0000 (15:00 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Dec 2015 15:22:58 +0000 (15:22 +0000)
commitcfde1e3f0fef85b542dfd2b45216f878cc469f87
tree515012df30daa28c2d8c22fcd5f8606dcb3e10c9
parentc31481fc68f0f9bc67bf54b302da860e2ec89ec6
x86_64, x32: add a replacement for <asm/stat.h>

Some old kernel headers, Ubuntu 14.04 in particular, provide
<asm/stat.h> editions that are completely wrong for x32.
Workaround this issue by providing a replacement.

* linux/x86_64/asm_stat.h: New file.
* linux/x32/asm_stat.h: Likewise.
* Makefile.am (strace_SOURCES): Add them.
Makefile.am
linux/x32/asm_stat.h [new file with mode: 0644]
linux/x86_64/asm_stat.h [new file with mode: 0644]