| Index: ui/surface/transport_dib_posix.cc
|
| diff --git a/ui/surface/transport_dib_posix.cc b/ui/surface/transport_dib_posix.cc
|
| index fcb935dc49de6d3ab57a5169fc0f0e0db4e96310..4f9e38f3707f93109fca82e89f6e452953b45fc4 100644
|
| --- a/ui/surface/transport_dib_posix.cc
|
| +++ b/ui/surface/transport_dib_posix.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| // Desktop GTK Linux builds use the old-style SYSV SHM based DIBs.
|
| // Linux Aura and Chrome OS do too. This will change very soon.
|
| -#if !defined(TOOLKIT_GTK) && !(defined(OS_LINUX) && defined(USE_AURA))
|
| +#if defined(USE_X11) && !defined(TOOLKIT_GTK) && !(defined(OS_LINUX) && defined(USE_AURA))
|
|
|
| #include <sys/stat.h>
|
| #include <unistd.h>
|
|
|