diff --git a/[refs] b/[refs] index a6189a78ea1f..1f38e9fd316c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd +refs/heads/master: 6560c349c501388a1f3030d02fb49e7067e6597e diff --git a/trunk/include/sound/asequencer.h b/trunk/include/sound/asequencer.h index 728efd504262..562637b4884b 100644 --- a/trunk/include/sound/asequencer.h +++ b/trunk/include/sound/asequencer.h @@ -22,11 +22,10 @@ #ifndef __SOUND_ASEQUENCER_H #define __SOUND_ASEQUENCER_H -#ifndef __KERNEL__ +#ifdef __KERNEL__ #include -#endif - #include +#endif /** version of the sequencer */ #define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1) diff --git a/trunk/include/sound/asound.h b/trunk/include/sound/asound.h index 8e552d627fa5..1389704d8d61 100644 --- a/trunk/include/sound/asound.h +++ b/trunk/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