From: Andi Kleen <andi-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] Fix compilation of kvm-59 with older kernel includes
Date: Sun, 13 Jan 2008 17:20:25 +0100 [thread overview]
Message-ID: <20080113162025.GA6951@basil.nowhere.org> (raw)
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
next reply other threads:[~2008-01-13 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 16:20 Andi Kleen [this message]
[not found] ` <20080113162025.GA6951-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
2008-01-13 16:42 ` [PATCH] Fix compilation of kvm-59 with older kernel includes Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080113162025.GA6951@basil.nowhere.org \
--to=andi-vw/nlti1exurpaaqcnn02g@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox