packages/sound/alsa/patches/100-compile_fix.patch
nbd 27a2008db4 move some webcam/sound related stuff from trunk to packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 20:36:05 +00:00

20 lines
600 B
Diff

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 */