Skip to contentSkip to conversation

Fix usb-linux build on suse 10.2

PATCH New Andi Kleen 1 participant 1 message May 13, 2008

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Fix usb-linux build on suse 10.2

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

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