From dcc1bcc1155ae6b618abcff8fc29e9f6e1667e13 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 9 Mar 2004 12:46:59 +0000 Subject: [PATCH] Added workaround for 2.6 kernel, we should probably use C99 types (u_int32_t etc.) --- include/sound/ainstr_fm.h | 2 ++ include/sound/ainstr_iw.h | 2 ++ include/sound/ainstr_simple.h | 2 ++ 3 files changed, 6 insertions(+) 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 /* -- 2.47.1