[igt-dev] [PATCH i-g-t] lib/igt.h: Guard igt_alsa.h in HAVE_CHAMELIUM guard

Ser, Simon simon.ser at intel.com
Tue May 21 07:10:20 UTC 2019


On Mon, 2019-05-20 at 11:39 -0700, Antonio Argenziano wrote:
> The alsa library is only guaranteed to exists is the HAVE_CHAMELIUM flag
> is set.
> 
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Simon Ser <simon.ser at intel.com>

Thanks for the fix!

Reviewed-by: Simon Ser <simon.ser at intel.com>

and pushed.

> ---
>  lib/igt.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/igt.h b/lib/igt.h
> index 5852d557..2ae43c30 100644
> --- a/lib/igt.h
> +++ b/lib/igt.h
> @@ -35,13 +35,13 @@
>  #include "igt_dummyload.h"
>  #include "igt_fb.h"
>  #include "igt_frame.h"
> -#include "igt_alsa.h"
>  #include "igt_audio.h"
>  #include "igt_gt.h"
>  #include "igt_kms.h"
>  #include "igt_pm.h"
>  #include "igt_stats.h"
>  #ifdef HAVE_CHAMELIUM
> +#include "igt_alsa.h"
>  #include "igt_chamelium.h"
>  #include "igt_chamelium_stream.h"
>  #endif


More information about the igt-dev mailing list