qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix usb-linux build on suse 10.2
@ 2008-05-13 10:47 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2008-05-13 10:47 UTC (permalink / raw)
  To: qemu-devel


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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-13 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 10:47 [Qemu-devel] [PATCH] Fix usb-linux build on suse 10.2 Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).