From: Takashi Iwai Date: Fri, 4 Mar 2016 09:52:18 +0000 (+0100) Subject: Update include/sound/asound.h from 4.6-pre kernel uapi X-Git-Tag: v1.1.1~8 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2c68581c505f8582870b626f97f3ab9411b699c6;p=alsa-lib.git 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 --- 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