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

Antonio Argenziano antonio.argenziano at intel.com
Mon May 20 18:39:07 UTC 2019


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>
---
 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
-- 
2.21.0



More information about the igt-dev mailing list