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

Simon Ser simon.ser at intel.com
Tue May 28 13:47:02 UTC 2019


igt_audio includes a libasound header. We should guard it behind
HAVE_CHAMELIUM.

Signed-off-by: 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 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