diff --git a/include/sound/asound.h b/include/sound/asound.h index 89dd7d2f..22e97d9b 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -1,11 +1,4 @@ /* workaround for building with old glibc / kernel headers */ -#ifdef __linux__ -#include -#else -#include -#endif -#ifndef __kernel_long_t -#define __kernel_long_t long -#endif +#include #include diff --git a/include/sound/type_compat.h b/include/sound/type_compat.h index 5b765f44..953ce566 100644 --- a/include/sound/type_compat.h +++ b/include/sound/type_compat.h @@ -44,6 +44,10 @@ typedef int64_t __s64; #define __be8 __u8 #endif +#ifndef __kernel_long_t +#define __kernel_long_t long +#endif + #ifndef __user #define __user #endif