[alsa-devel] [PATCH] ALSA: Add missing include of pcm.h to pcm_params.h

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jun 19 20:31:48 CEST 2012


There's a dependency but no #include.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 include/sound/pcm_params.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h
index f494f1e..37ae12e 100644
--- a/include/sound/pcm_params.h
+++ b/include/sound/pcm_params.h
@@ -22,6 +22,8 @@
  *
  */
 
+#include <sound/pcm.h>
+
 int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm, 
 			   struct snd_pcm_hw_params *params,
 			   snd_pcm_hw_param_t var, int *dir);
-- 
1.7.10



More information about the Alsa-devel mailing list