WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] build problem with new ioemu

To: Pat Campbell <plc@xxxxxxxxxx>
Subject: Re: [Xen-devel] build problem with new ioemu
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 18 Jul 2008 15:44:34 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Jul 2008 07:45:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <488093D7.4060608@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <200807181410.50965.Christoph.Egger@xxxxxxx> <488093D7.4060608@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Pat Campbell writes ("Re: [Xen-devel] build problem with new ioemu"):
> I added the following to get past this.
> --- a/usb-linux.c    2008-07-18 06:54:47.000000000 -0600
> +++ b/usb-linux.c    2008-07-18 06:09:31.000000000 -0600
> @@ -28,6 +28,7 @@
>  #if defined(__linux__)
>  #include <dirent.h>
>  #include <sys/ioctl.h>
> +#include <linux/compiler.h>
>  #include <linux/usbdevice_fs.h>
>  #include <linux/version.h>
> 
> Old code did:
> /* Some versions of usbdevice_fs.h need __user to be defined for them.   */
> /* This may (harmlessly) conflict with a definition in linux/compiler.h. */
> #define __user
> #include <linux/usbdevice_fs.h>
> 
> Not sure which is the better solution

Thank you, I think yours is exactly the right answer.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel