]> git.alsa-project.org Git - alsa-plugins.git/commit
pph: include config.h from rate_speexrate.c
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 27 Jan 2016 11:45:51 +0000 (13:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Jan 2016 06:21:35 +0000 (07:21 +0100)
commite1760840dc4710146a22458e4a804cbfc91e7630
treed186645eb8fe09596083ecbc9945c8391b226e3e
parentcdff2e32537440bf16329c8440d0d02d7ac02d38
pph: include config.h from rate_speexrate.c

Fixes compilation against libspeexdsp 1.2rc3.

rate_speexrate.c includes speex_resampler.h, which depends on config.h
by referencing the HAVE_SPEEX_SPEEXDSP_TYPES_H macro. AFAIK it's not
a good idea to include config.h from headers (I don't know/remember
why, though), which is why I include config.h from rate_speexrate.c
instead of speex_resampler.h.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
pph/rate_speexrate.c