[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.