summaryrefslogtreecommitdiff
path: root/package/alsa/patches/100-compile_fix.patch
blob: edc15fea892bb1d300800805f0d75fcbc4c63407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: alsa-driver-1.0.14rc1/include/adriver.h
===================================================================
--- alsa-driver-1.0.14rc1.orig/include/adriver.h	2007-06-04 13:22:44.887031416 +0200
+++ alsa-driver-1.0.14rc1/include/adriver.h	2007-06-04 13:22:44.956020928 +0200
@@ -514,7 +514,7 @@
 #endif /* < 2.6.0 */
 
 /* workarounds for USB API */
-#if defined(SND_NEED_USB_WRAPPER) && (defined(CONFIG_USB) || defined(CONFIG_USB_MODULE))
+#if 1
 
 #include <linux/usb.h>
 
@@ -1360,4 +1360,5 @@
 #endif
 #endif
 
+#undef info /* used in several structs */
 #endif /* __SOUND_LOCAL_DRIVER_H */