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

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jun 20 11:34:25 CEST 2012

On Wed, Jun 20, 2012 at 07:47:25AM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> > There's a dependency but no #include.

> I don't mind to put it, but it wasn't done because we didn't want to
> let the driver code including only pcm_params.h without pcm.h.

I noticed it because I was writing some library code which only directly
referenced things in pcm_params.h so just included that directly.  The
general idea is that headers shouldn't have external dependencies...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120620/c34d3f0d/attachment.sig 

More information about the Alsa-devel mailing list