qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Fix usb-linux build on suse 10.2


From: Andi Kleen
Subject: [Qemu-devel] [PATCH] Fix usb-linux build on suse 10.2
Date: Tue, 13 May 2008 12:47:53 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Still need this patch to build trunk on SUSE 10.2 with a selfcompiled 
gcc 3.3-hammer. Arguably it's a bug of the kernel includes that 
are preinstalled, but it's awkward to edit them.

-Andi

Index: usb-linux.c
===================================================================
--- usb-linux.c (revision 4449)
+++ usb-linux.c (working copy)
@@ -26,6 +26,7 @@
 #include "console.h"
 
 #if defined(__linux__)
+#define __user
 #include <dirent.h>
 #include <sys/ioctl.h>
 #include <linux/usbdevice_fs.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]