From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: [PATCH] Fix compilation of kvm-59 with older kernel includes Date: Sun, 13 Jan 2008 17:20:25 +0100 Message-ID: <20080113162025.GA6951@basil.nowhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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 #include #include -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