summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-26 14:47:25 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-26 14:47:25 -0500
commit50e6b8ff4c03b91861aa2a85a2c38327a6a0c4be (patch)
treeadb518c2559a0076d6ab40f151d3eb53f25c47f1
parente22a0ab4c743221d4064f57bff7d6d60dc145328 (diff)
downloadefl-50e6b8ff4c03b91861aa2a85a2c38327a6a0c4be.tar.gz
efl_ui: do not include evas gl header if legacy support is not requested
this will not build without legacy
-rw-r--r--src/lib/elementary/Efl_Ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/Efl_Ui.h b/src/lib/elementary/Efl_Ui.h
index ad52e0a7bd..0202af98e7 100644
--- a/src/lib/elementary/Efl_Ui.h
+++ b/src/lib/elementary/Efl_Ui.h
@@ -118,7 +118,9 @@
#include <Efl_Net.h>
#include <Evas.h>
-#include <Evas_GL.h>
+#ifndef EFL_NOLEGACY_API_SUPPORT
+# include <Evas_GL.h>
+#endif
#include <Eio.h>
#include <Edje.h>
#include <Eldbus.h>