From d1e0c6f9d728e7f36af2341042629d6d3141f2c0 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Thu, 7 Sep 2017 11:37:18 +0530 Subject: [PATCH] [platforms/hwcomposer] Include the android-config.h in the hwcomposer_backend Summary: This special file[1] can contain the defines like QTI_BSP and QCOM_BSP which then modifies the API/ABI of the hwcomposer[2]. This defines are required in order to make kwin_wayland work on !nexus QCOM devices and also possibly other special devices. [1] https://github.com/Halium/android-headers/blob/master/android-config.h [2] https://github.com/Halium/android-headers/blob/halium-7.1/hardware/hwcomposer.h#L290 Test Plan: built kwin locally on such device Reviewers: #kwin, davidedmundson Reviewed By: davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7719 --- plugins/platforms/hwcomposer/hwcomposer_backend.h | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/platforms/hwcomposer/hwcomposer_backend.h b/plugins/platforms/hwcomposer/hwcomposer_backend.h index 5730c5c7a5..691c35fb06 100644 --- a/plugins/platforms/hwcomposer/hwcomposer_backend.h +++ b/plugins/platforms/hwcomposer/hwcomposer_backend.h @@ -26,6 +26,7 @@ along with this program. If not, see . #include #include +#include // libhybris #include // needed as hwcomposer_window.h includes EGL which on non-arm includes Xlib