From: Jaroslav Kysela Date: Sun, 2 Feb 2025 21:00:54 +0000 (+0100) Subject: include: pcm extplug/ioplug: fix internal include X-Git-Tag: v1.2.14~30 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=995e279081958cd292fe8515075b21df7cac85ae;p=alsa-lib.git 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 --- diff --git a/include/pcm_extplug.h b/include/pcm_extplug.h index 09d7c7cb..1294a59e 100644 --- a/include/pcm_extplug.h +++ b/include/pcm_extplug.h @@ -28,7 +28,7 @@ * */ -#ifndef __ALSA_PCM_EXTERNAL_H +#if !defined(__ALSA_PCM_EXTERNAL_H) && !defined(ALSA_LIBRARY_BUILD) #warning "use #include , should not be used directly" #include #endif diff --git a/include/pcm_ioplug.h b/include/pcm_ioplug.h index 457b3e8b..722dc9d7 100644 --- a/include/pcm_ioplug.h +++ b/include/pcm_ioplug.h @@ -28,7 +28,7 @@ * */ -#ifndef __ALSA_PCM_EXTERNAL_H +#if !defined(__ALSA_PCM_EXTERNAL_H) && !defined(ALSA_LIBRARY_BUILD) #warning "use #include , should not be used directly" #include #endif