From 6560c349c501388a1f3030d02fb49e7067e6597e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 17 Nov 2005 10:29:33 +0100 Subject: [ALSA] Clean up includes in asound.h & asequencer.h Modules: ALSA sequencer,ALSA Core Clean up includes in asound.h and asequencer.h. Signed-off-by: Takashi Iwai --- include/sound/asound.h | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'include/sound/asound.h') diff --git a/include/sound/asound.h b/include/sound/asound.h index 8e552d6..1389704 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -23,12 +23,8 @@ #ifndef __SOUND_ASOUND_H #define __SOUND_ASOUND_H -#if defined(LINUX) || defined(__LINUX__) || defined(__linux__) - -#include - #ifdef __KERNEL__ - +#include #include #include #include @@ -43,25 +39,7 @@ #endif #endif -#else /* !__KERNEL__ */ - -#include -#if __BYTE_ORDER == __LITTLE_ENDIAN -#define SNDRV_LITTLE_ENDIAN -#elif __BYTE_ORDER == __BIG_ENDIAN -#define SNDRV_BIG_ENDIAN -#else -#error "Unsupported endian..." -#endif - -#endif /* __KERNEL **/ - -#endif /* LINUX */ - -#ifndef __KERNEL__ -#include -#include -#endif +#endif /* __KERNEL__ **/ /* * protocol version -- cgit v1.1