[HVM] Fix ioemu build with new Linux headers. We must define __user
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 13 Jun 2006 10:41:15 +0000 (11:41 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 13 Jun 2006 10:41:15 +0000 (11:41 +0100)
attribute to nothing.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/ioemu/usb-linux.c

index 9cd543d7141fd8de6d10105f370221e1f218dfe3..b08eaebabb712e03e2d810e1699161dbadb9a074 100644 (file)
@@ -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>