]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added workaround for 2.6 kernel, we should probably use C99 types (u_int32_t etc.)
authorJaroslav Kysela <perex@perex.cz>
Tue, 9 Mar 2004 12:46:59 +0000 (12:46 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 9 Mar 2004 12:46:59 +0000 (12:46 +0000)
include/sound/ainstr_fm.h
include/sound/ainstr_iw.h
include/sound/ainstr_simple.h

index 3f936d0d5ad2f317d3d21aca7e4af0d6940a30fd..2dfa9a5ed32747b27f0678708354c0e467b254ad 100644 (file)
 #define __SOUND_AINSTR_FM_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*
index ace103158854bff48fd27c261e42472d02b84499..1ddb54f9aac68b8beb1dfa81ee473e226dea298d 100644 (file)
 #define __SOUND_AINSTR_IW_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*
index bef1f990c69e424cec0819d8d536067f9f8d36dd..52974e2b85918c3eec1ced0e8ab3b5a563c1be63 100644 (file)
 #define __SOUND_AINSTR_SIMPLE_H
 
 #ifndef __KERNEL__
+#define __KERNEL__
 #include <asm/types.h>
 #include <asm/byteorder.h>
+#undef __KERNEL__
 #endif
 
 /*