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