From 2c68581c505f8582870b626f97f3ab9411b699c6 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 4 Mar 2016 10:52:18 +0100 Subject: [PATCH] Update include/sound/asound.h from 4.6-pre kernel uapi The inclusion of is done conditionally for Linux in order to improve portability. Signed-off-by: Takashi Iwai --- include/sound/asound.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/sound/asound.h b/include/sound/asound.h index a82108e5..67bf49d8 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -23,7 +23,11 @@ #ifndef _UAPI__SOUND_ASOUND_H #define _UAPI__SOUND_ASOUND_H +#if defined(__KERNEL__) || defined(__linux__) #include +#else +#include +#endif #ifndef __KERNEL__ #include -- 2.47.1