Index: remoting/client/x11_client.cc |
diff --git a/remoting/client/x11_client.cc b/remoting/client/x11_client.cc |
index 6b8e4e2d3ee3a6ba54fe4f3d0cd389d33d53c981..f383af4eb9fe7230042fd8e739b284dbdeffd704 100644 |
--- a/remoting/client/x11_client.cc |
+++ b/remoting/client/x11_client.cc |
@@ -17,7 +17,15 @@ |
// x11_view.h also includes Xlib.h so put it behind all other headers but |
// before Xlib.h |
#include "remoting/client/x11_view.h" |
+ |
+// Cursor defined in Quickdraw.h on mac conflicts with X.h. |
+#if defined(OS_MAC) |
+#define Cursor X11_Cursor |
+#endif |
#include <X11/Xlib.h> |
+#if defined(OS_MAC) |
+#undef Cursor |
+#endif |
namespace remoting { |