include: pcm extplug/ioplug: fix internal include

The header files are directly included when the alsa-lib is building.
Do not show warning.

Fixes: ea8972c8 ("include: prefer alsa/asoundlib.h for apps, dependency cleanups")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-02-02 22:00:54 +01:00
parent 1101c397aa
commit 995e279081
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
*
*/
#ifndef __ALSA_PCM_EXTERNAL_H
#if !defined(__ALSA_PCM_EXTERNAL_H) && !defined(ALSA_LIBRARY_BUILD)
#warning "use #include <alsa/pcm_external.h>, <alsa/pcm_extplug.h> should not be used directly"
#include <alsa/pcm_external.h>
#endif

View file

@ -28,7 +28,7 @@
*
*/
#ifndef __ALSA_PCM_EXTERNAL_H
#if !defined(__ALSA_PCM_EXTERNAL_H) && !defined(ALSA_LIBRARY_BUILD)
#warning "use #include <alsa/pcm_external.h>, <alsa/pcm_ioplug.h> should not be used directly"
#include <alsa/pcm_external.h>
#endif