diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-04-12 12:33:12 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-06-07 13:28:13 +0300 |
commit | a702b60782d713ebce9199b0007d8beb083e49fe (patch) | |
tree | c3c07ce00d1583ef52b2a2e57d5f33f6532187fa /lib/igt_chamelium.h | |
parent | d7d3f4e87b827152f00bdf89a67871736672b492 (diff) |
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 <arkadiusz.hiler@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Diffstat (limited to 'lib/igt_chamelium.h')
-rw-r--r-- | lib/igt_chamelium.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdbool.h> |