Bug 1431295 - Include "X11UndefineNone.h" after including gdx.h in nsWindow.h. r?botond draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Thu, 18 Jan 2018 14:12:51 +0900
changeset 721926 b930c2cb19fc27aaf8e04dce2cdba7c713bf8ba3
parent 721830 b7a651281314d6369658eeb58e3bb181cf95016f
child 721927 50fb2d8d6474035e714ce8e1d6d9c0e1ee6d3c6d
push id96002
push userbmo:hikezoe@mozilla.com
push dateThu, 18 Jan 2018 05:13:26 +0000
reviewersbotond
bugs1431295
milestone59.0a1
Bug 1431295 - Include "X11UndefineNone.h" after including gdx.h in nsWindow.h. r?botond MozReview-Commit-ID: 9SumgYc5pNE
widget/gtk/nsWindow.h
--- a/widget/gtk/nsWindow.h
+++ b/widget/gtk/nsWindow.h
@@ -18,16 +18,17 @@
 
 #include "nsBaseWidget.h"
 #include "CompositorWidget.h"
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
 #ifdef MOZ_X11
 #include <gdk/gdkx.h>
+#include "X11UndefineNone.h"
 #endif /* MOZ_X11 */
 #ifdef MOZ_WAYLAND
 #include <gdk/gdkwayland.h>
 #endif
 
 #include "mozilla/widget/WindowSurface.h"
 #include "mozilla/widget/WindowSurfaceProvider.h"