linux-user: fix getdents* syscalls
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 13 Oct 2008 21:08:17 +0000 (21:08 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 13 Oct 2008 21:08:17 +0000 (21:08 +0000)
commit6556a833fa894bb9981dd273026d3615db1fffdc
tree2fb97b50ef70ff78bff4ec3fad1392b0b549bb91
parent2054ac9baf27ecec52acde96881c9f0278ce04da
linux-user: fix getdents* syscalls

glibc's structs dirent and dirent64 is different from in-kernel dirent
and dirent64. Kernel headers doesn't provide structs dirent(64) any
more. So we should add it to qemu headers.

To avoid conflict with glibc it called struct linux_dirent(64).

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5480 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c
linux-user/syscall_defs.h