efl_ui: do not include evas gl header if legacy support is not requested
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Feb 2018 19:47:25 +0000 (14:47 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:40 +0000 (20:10 +0900)
this will not build without legacy

src/lib/elementary/Efl_Ui.h

index ad52e0a..0202af9 100644 (file)
 #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>