Commit 8d5c28ec858518c11568e514ea98278aae89b878

Authored by balrog
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,6 +28,7 @@
28 #include <fcntl.h> 28 #include <fcntl.h>
29 #include <time.h> 29 #include <time.h>
30 #include <limits.h> 30 #include <limits.h>
  31 +#include <dirent.h>
31 #include <sys/types.h> 32 #include <sys/types.h>
32 #include <sys/ipc.h> 33 #include <sys/ipc.h>
33 #include <sys/msg.h> 34 #include <sys/msg.h>
@@ -68,7 +69,6 @@ @@ -68,7 +69,6 @@
68 #include <linux/cdrom.h> 69 #include <linux/cdrom.h>
69 #include <linux/hdreg.h> 70 #include <linux/hdreg.h>
70 #include <linux/soundcard.h> 71 #include <linux/soundcard.h>
71 -#include <linux/dirent.h>  
72 #include <linux/kd.h> 72 #include <linux/kd.h>
73 #include "linux_loop.h" 73 #include "linux_loop.h"
74 74