Update of /cvsroot/alsa/alsa-driver/include
In directory sc8-pr-cvs1:/tmp/cvs-serv13341

Modified Files:
        adriver.h 
Log Message:
Fix the redhat compilation problem (workqueue)

Index: adriver.h
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- adriver.h   25 Feb 2003 15:09:27 -0000      1.32
+++ adriver.h   8 Mar 2003 07:47:54 -0000       1.33
@@ -279,7 +279,8 @@
 #endif /* SND_NEED_USB_WRAPPER && CONFIG_USB */
 
 /* workqueue-alike; 2.5.45 */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 45)
+#include <linux/workqueue.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 45) && !defined(__WORK_INITIALIZER)
 struct work_struct {
        void (*func)(void *);
        void *data;



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to