Index: ui/gfx/gl/egl_util.cc |
diff --git a/ui/gfx/gl/egl_util.cc b/ui/gfx/gl/egl_util.cc |
index 29eb92d14e3488ebc3121b47eb9803ba9813ef99..79e2b818393158a58b6014eef4ac3e79f3fd318c 100644 |
--- a/ui/gfx/gl/egl_util.cc |
+++ b/ui/gfx/gl/egl_util.cc |
@@ -4,7 +4,11 @@ |
#include "ui/gfx/gl/egl_util.h" |
+#if defined(USE_WAYLAND) |
sky
2011/07/27 15:51:05
Condition includes should be after other includes.
sky
2011/07/27 22:22:22
In that case you should have the condition system
|
+#include <EGL/egl.h> |
+#else |
#include "third_party/angle/include/EGL/egl.h" |
+#endif |
#include "ui/gfx/gl/gl_bindings.h" |
namespace gfx { |