Skip to contentSkip to conversation

[5270] Fix building with 2.6.27 kernel headers (Kirill Shutemov).

Qemu-devel Andrzej Zaborowski 1 participant 1 message Sep 20, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5270

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5270
Author:   balrog
Date:     2008-09-20 02:29:38 +0000 (Sat, 20 Sep 2008)

Log Message:
-----------
Fix building with 2.6.27 kernel headers (Kirill Shutemov).

<linux/dirent.h> unexported since 2.6.27

Modified Paths:
--------------
trunk/linux-user/syscall.c

Modified: trunk/linux-user/syscall.c
===================================================================

linux-user/syscall.c +1 -1
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include <time.h>
 #include <limits.h>
+#include <dirent.h>
 #include <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>
@@ -68,7 +69,6 @@
 #include <linux/cdrom.h>
 #include <linux/hdreg.h>
 #include <linux/soundcard.h>
-#include <linux/dirent.h>
 #include <linux/kd.h>
 #include "linux_loop.h"