From: Qais Yousef Date: Fri, 19 Dec 2014 11:38:30 +0000 (+0000) Subject: ALSA: compress_driver.h: include sound/core.h explicitly X-Git-Tag: v4.14-rc1~5985^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b617289b699b5f7e4544bfd2794818cb880b928;p=platform%2Fkernel%2Flinux-rpi.git ALSA: compress_driver.h: include sound/core.h explicitly Fixes the following compilation error: include/sound/compress_driver.h: In function ‘snd_compr_drain_notify’: include/sound/compress_driver.h:177:2: error: implicit declaration of function ‘snd_BUG_ON’ [-Werror=implicit-function-declaration] if (snd_BUG_ON(!stream)) snd_BUG_ON() is defined in sound/core.h but the file is not included explicitly, so include it. Signed-off-by: Qais Yousef Acked-by: Vinod Koul Signed-off-by: Takashi Iwai --- diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index 396e8f7..1e25310 100644 --- a/include/sound/compress_driver.h +++ b/include/sound/compress_driver.h @@ -27,6 +27,7 @@ #include #include +#include #include #include #include