From a702b60782d713ebce9199b0007d8beb083e49fe Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 12 Apr 2017 12:33:12 +0200 Subject: chamelium: Fix build issues on Android Makefile.sources are included 1:1 in Android.mk files, and are not parsed by automake. And yet those had some automake conditional logic. Moving it to .am file is enough for now. Also igt_chamelium.h included config.h without proper "HAVE_CONFIG_H" guard, and the file itself was included unconditionally. Signed-off-by: Arkadiusz Hiler Reviewed-by: Michal Wajdeczko --- lib/igt_chamelium.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/igt_chamelium.h') diff --git a/lib/igt_chamelium.h b/lib/igt_chamelium.h index f421d837..15f60246 100644 --- a/lib/igt_chamelium.h +++ b/lib/igt_chamelium.h @@ -26,7 +26,10 @@ #ifndef IGT_CHAMELIUM_H #define IGT_CHAMELIUM_H +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + #include "igt.h" #include -- cgit v1.2.3