Commit 8d5c28ec858518c11568e514ea98278aae89b878
1 parent
ac8a6556
Fix building with 2.6.27 kernel headers (Kirill Shutemov).
<linux/dirent.h> unexported since 2.6.27 Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5270 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
linux-user/syscall.c
... | ... | @@ -28,6 +28,7 @@ |
28 | 28 | #include <fcntl.h> |
29 | 29 | #include <time.h> |
30 | 30 | #include <limits.h> |
31 | +#include <dirent.h> | |
31 | 32 | #include <sys/types.h> |
32 | 33 | #include <sys/ipc.h> |
33 | 34 | #include <sys/msg.h> |
... | ... | @@ -68,7 +69,6 @@ |
68 | 69 | #include <linux/cdrom.h> |
69 | 70 | #include <linux/hdreg.h> |
70 | 71 | #include <linux/soundcard.h> |
71 | -#include <linux/dirent.h> | |
72 | 72 | #include <linux/kd.h> |
73 | 73 | #include "linux_loop.h" |
74 | 74 | ... | ... |