summaryrefslogtreecommitdiffstats
path: root/src/glx/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/SConscript')
-rw-r--r--src/glx/SConscript5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/SConscript b/src/glx/SConscript
index 7555fb0568c..ce25a1faa84 100644
--- a/src/glx/SConscript
+++ b/src/glx/SConscript
@@ -35,10 +35,7 @@ env.Prepend(LIBS = [
env.PkgUseModules('X11')
env.PkgUseModules('XCB')
env.PkgUseModules('DRM')
-
-if env['HAVE_XF86VIDMODE']:
- env.Append(CPPDEFINES = ['XF86VIDMODE'])
- env.PkgUseModules('XF86VIDMODE')
+env.PkgUseModules('XF86VIDMODE')
sources = [
'clientattrib.c',