* [PATCH] Fix compilation of kvm-59 with older kernel includes
@ 2008-01-13 16:20 Andi Kleen
[not found] ` <20080113162025.GA6951-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Andi Kleen @ 2008-01-13 16:20 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I needed the following patch to make kvm-59 compile on SUSE 10.2. Yes it's
a bug in the standard includes.
-Andi
diff -u kvm-59/qemu/usb-linux.c-o kvm-59/qemu/usb-linux.c
--- kvm-59/qemu/usb-linux.c-o 2008-01-01 10:20:24.000000000 +0100
+++ kvm-59/qemu/usb-linux.c 2008-01-13 17:16:46.000000000 +0100
@@ -26,6 +26,8 @@
#include "console.h"
#if defined(__linux__)
+#define __user
+
#include <dirent.h>
#include <sys/ioctl.h>
#include <linux/usbdevice_fs.h>
-Andi
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix compilation of kvm-59 with older kernel includes
[not found] ` <20080113162025.GA6951-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
@ 2008-01-13 16:42 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-01-13 16:42 UTC (permalink / raw)
To: Andi Kleen; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Andi Kleen wrote:
> I needed the following patch to make kvm-59 compile on SUSE 10.2. Yes it's
> a bug in the standard includes.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-13 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-13 16:20 [PATCH] Fix compilation of kvm-59 with older kernel includes Andi Kleen
[not found] ` <20080113162025.GA6951-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
2008-01-13 16:42 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox