[igt-dev] [PATCH i-g-t] lib/igt: fix igt_audio include

C, Ramalingam ramalingam.c at intel.com
Tue May 28 13:52:15 UTC 2019


> -----Original Message-----
> From: Ser, Simon
> Sent: Tuesday, May 28, 2019 7:17 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Hiler, Arkadiusz <arkadiusz.hiler at intel.com>; Peres, Martin
> <martin.peres at intel.com>; C, Ramalingam <ramalingam.c at intel.com>
> Subject: [PATCH i-g-t] lib/igt: fix igt_audio include
> 
> igt_audio includes a libasound header. We should guard it behind
> HAVE_CHAMELIUM.
> 
> Signed-off-by: Simon Ser <simon.ser at intel.com>
Reviewed-by: Ramalingam C <ramalingam.c at intel.com>

-Ram.
> ---
>  lib/igt.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/igt.h b/lib/igt.h
> index 82cdd57a4deb..a6c4e44d2172 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_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_audio.h"
>  #include "igt_chamelium.h"
>  #include "igt_chamelium_stream.h"
>  #endif
> --
> 2.21.0



More information about the igt-dev mailing list