diff options
author | Dave Airlie <airlied@linux.ie> | 2007-01-21 20:22:39 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-01-23 16:10:25 +1100 |
commit | c68dae2705d6e5b05dba7d40b6da112b98b926b4 (patch) | |
tree | d5ea38ccf332f8f23de7c0d70be5d46cad8c75e0 /src/i830_lvds.c | |
parent | 8eb861fb61fda78e6c142ffa66c586357aaa2e44 (diff) |
fix building with 7.1 server by hiding stuff inside RANDR_12_INTERFACE
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r-- | src/i830_lvds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 223c6ab9..0092dedb 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -354,6 +354,7 @@ i830_lvds_create_resources(xf86OutputPtr output) #endif /* RANDR_12_INTERFACE */ } +#ifdef RANDR_12_INTERFACE static Bool i830_lvds_set_property(xf86OutputPtr output, Atom property, RRPropertyValuePtr value) @@ -381,6 +382,7 @@ i830_lvds_set_property(xf86OutputPtr output, Atom property, return TRUE; } +#endif /* RANDR_12_INTERFACE */ static const xf86OutputFuncsRec i830_lvds_output_funcs = { .create_resources = i830_lvds_create_resources, @@ -392,7 +394,9 @@ static const xf86OutputFuncsRec i830_lvds_output_funcs = { .mode_set = i830_lvds_mode_set, .detect = i830_lvds_detect, .get_modes = i830_lvds_get_modes, +#ifdef RANDR_12_INTERFACE .set_property = i830_lvds_set_property, +#endif .destroy = i830_lvds_destroy }; |