From f84bc35707fc0ed840bfc09fc502ea4b29251826 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 23 May 2010 16:31:33 +0000 Subject: [PATCH] compile fix for GTK2 systems which have X11/extensions/xf86vmode.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/displayx11.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index a6c294d5e2..04c5f86218 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -62,9 +62,6 @@ #include #include - #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H - #include - #endif } typedef XineramaScreenInfo ScreenInfo; @@ -222,6 +219,8 @@ wxDisplayImpl *wxDisplayFactoryX11::CreateDisplay(unsigned n) #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H +#include + // // See (http://www.xfree86.org/4.2.0/XF86VidModeDeleteModeLine.3.html) for more // info about xf86 video mode extensions -- 2.45.2