Index: ui/gfx/gl/gl_context_egl.cc |
diff --git a/ui/gfx/gl/gl_context_egl.cc b/ui/gfx/gl/gl_context_egl.cc |
index d15dd170cb750c11e7c83d10ad51457c6656c223..14701c09ee4472005b5fbc8146a40f23c4d1a99f 100644 |
--- a/ui/gfx/gl/gl_context_egl.cc |
+++ b/ui/gfx/gl/gl_context_egl.cc |
@@ -15,7 +15,7 @@ |
// it brings in #defines that cause conflicts. |
#include "ui/gfx/gl/gl_bindings.h" |
-#if defined(OS_LINUX) |
+#if defined(USE_X11) |
extern "C" { |
#include <X11/Xlib.h> |
} |