]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/displayx11.cpp
Fix typo in last commit
[wxWidgets.git] / src / unix / displayx11.cpp
index a6c294d5e2b81ea95aa42795bee98bb9f8a4278d..04c5f86218d81035cfd8b57cc03e96fdc9dc4da8 100644 (file)
@@ -62,9 +62,6 @@
         #include <X11/Xlibint.h>
 
         #include <X11/extensions/Xinerama.h>
-        #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
-            #include <X11/extensions/xf86vmode.h>
-        #endif
     }
 
     typedef XineramaScreenInfo ScreenInfo;
@@ -222,6 +219,8 @@ wxDisplayImpl *wxDisplayFactoryX11::CreateDisplay(unsigned n)
 
 #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
 
+#include <X11/extensions/xf86vmode.h>
+
 //
 //  See (http://www.xfree86.org/4.2.0/XF86VidModeDeleteModeLine.3.html) for more
 //  info about xf86 video mode extensions