Update of /cvsroot/alsa/alsa-lib/include/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5063

Modified Files:
        ainstr_fm.h ainstr_iw.h ainstr_simple.h 
Log Message:
Added workaround for 2.6 kernel, we should probably use C99 types (u_int32_t etc.)

Index: ainstr_fm.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/sound/ainstr_fm.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ainstr_fm.h 9 Oct 2002 13:44:11 -0000       1.1
+++ ainstr_fm.h 9 Mar 2004 12:46:59 -0000       1.2
@@ -25,8 +25,10 @@
 #define __SOUND_AINSTR_FM_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*

Index: ainstr_iw.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/sound/ainstr_iw.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ainstr_iw.h 9 Oct 2002 13:44:11 -0000       1.1
+++ ainstr_iw.h 9 Mar 2004 12:47:00 -0000       1.2
@@ -25,8 +25,10 @@
 #define __SOUND_AINSTR_IW_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*

Index: ainstr_simple.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/sound/ainstr_simple.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ainstr_simple.h     9 Oct 2002 13:44:11 -0000       1.1
+++ ainstr_simple.h     9 Mar 2004 12:47:00 -0000       1.2
@@ -25,8 +25,10 @@
 #define __SOUND_AINSTR_SIMPLE_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to