Skip to content

Commit 7b61728

Browse files
Qais Youseftiwai
authored andcommitted
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 <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 1d69970 commit 7b61728

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/sound/compress_driver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#include <linux/types.h>
2929
#include <linux/sched.h>
30+
#include <sound/core.h>
3031
#include <sound/compress_offload.h>
3132
#include <sound/asound.h>
3233
#include <sound/pcm.h>

0 commit comments

Comments
 (0)