qemu: unbreak also on Ubuntu 8.04

This commit is contained in:
Marcin Juszkiewicz 2009-02-24 16:14:41 +01:00
parent c2f46bd918
commit 1bcb06beee
2 changed files with 6 additions and 5 deletions

View File

@ -2,17 +2,18 @@ On Debian 'sid' systems there is no linux/dirent.h header when
linux-libc-headers 2.6.28 are installed.
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
linux-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- qemu-0.9.1.orig/linux-user/syscall.c
+++ qemu-0.9.1/linux-user/syscall.c
@@ -75,10 +75,11 @@
@@ -74,11 +74,11 @@
#include <linux/unistd.h>
#include <linux/utsname.h>
#include <linux/cdrom.h>
#include <linux/hdreg.h>
#include <linux/soundcard.h>
#include <linux/dirent.h>
-#include <linux/dirent.h>
+#include <dirent.h>
#include <linux/kd.h>

View File

@ -1,6 +1,6 @@
LICENSE = "GPL"
DEPENDS = "zlib"
PR = "r8"
PR = "r9"
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
FILESDIR = "${WORKDIR}"