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

[Xen-changelog] [xen-unstable] [HVM] Fix ioemu build with new Linux headers. We must define __user



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 360f9dc71f513c5e371c8c1b09cbb0f3c8e34d63
# Parent  833d05bdb4a49591928624517d0f496822a05c97
[HVM] Fix ioemu build with new Linux headers. We must define __user
attribute to nothing.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/ioemu/usb-linux.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 833d05bdb4a4 -r 360f9dc71f51 tools/ioemu/usb-linux.c
--- a/tools/ioemu/usb-linux.c   Tue Jun 13 11:28:20 2006 +0100
+++ b/tools/ioemu/usb-linux.c   Tue Jun 13 11:41:15 2006 +0100
@@ -26,6 +26,7 @@
 #if defined(__linux__)
 #include <dirent.h>
 #include <sys/ioctl.h>
+#define __user /* new versions of usbdevice_fs.h use this private attribute */
 #include <linux/usbdevice_fs.h>
 #include <linux/version.h>
 

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


 


Rackspace

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