From: Jaroslav Kysela Date: Tue, 9 Mar 2004 12:46:59 +0000 (+0000) Subject: Added workaround for 2.6 kernel, we should probably use C99 types (u_int32_t etc.) X-Git-Tag: v1.0.4~23 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=dcc1bcc1155ae6b618abcff8fc29e9f6e1667e13;p=alsa-lib.git Added workaround for 2.6 kernel, we should probably use C99 types (u_int32_t etc.) --- diff --git a/include/sound/ainstr_fm.h b/include/sound/ainstr_fm.h index 3f936d0d..2dfa9a5e 100644 --- a/include/sound/ainstr_fm.h +++ b/include/sound/ainstr_fm.h @@ -25,8 +25,10 @@ #define __SOUND_AINSTR_FM_H #ifndef __KERNEL__ +#define __KERNEL__ #include #include +#undef __KERNEL__ #endif /* diff --git a/include/sound/ainstr_iw.h b/include/sound/ainstr_iw.h index ace10315..1ddb54f9 100644 --- a/include/sound/ainstr_iw.h +++ b/include/sound/ainstr_iw.h @@ -25,8 +25,10 @@ #define __SOUND_AINSTR_IW_H #ifndef __KERNEL__ +#define __KERNEL__ #include #include +#undef __KERNEL__ #endif /* diff --git a/include/sound/ainstr_simple.h b/include/sound/ainstr_simple.h index bef1f990..52974e2b 100644 --- a/include/sound/ainstr_simple.h +++ b/include/sound/ainstr_simple.h @@ -25,8 +25,10 @@ #define __SOUND_AINSTR_SIMPLE_H #ifndef __KERNEL__ +#define __KERNEL__ #include #include +#undef __KERNEL__ #endif /*