Merge "hwc: Use display_defs.h"
diff --git a/common.mk b/common.mk
index cdf660c..6cbfe38 100644
--- a/common.mk
+++ b/common.mk
@@ -46,7 +46,6 @@
 ifeq ($(TARGET_USES_QCOM_BSP),true)
 # Enable QCOM Display features
     common_flags += -DQTI_BSP
-    common_includes += vendor/qcom/opensource/display-frameworks/include
 endif
 ifneq ($(call is-platform-sdk-version-at-least,18),true)
     common_flags += -DANDROID_JELLYBEAN_MR1=1
diff --git a/libhwcomposer/hwc_utils.h b/libhwcomposer/hwc_utils.h
index cdf1115..62ca235 100644
--- a/libhwcomposer/hwc_utils.h
+++ b/libhwcomposer/hwc_utils.h
@@ -32,6 +32,9 @@
 #include <overlayUtils.h>
 #include <EGL/egl.h>
 
+#ifdef QTI_BSP
+#include <hardware/display_defs.h>
+#endif
 
 #define ALIGN_TO(x, align)     (((x) + ((align)-1)) & ~((align)-1))
 #define LIKELY( exp )       (__builtin_expect( (exp) != 0, true  ))
@@ -42,10 +45,6 @@
 // Max number of PTOR layers handled
 #define MAX_PTOR_LAYERS 2
 
-#ifdef QTI_BSP
-#include <exhwcomposer_defs.h>
-#endif
-
 //Fwrd decls
 struct hwc_context_t;