1 diff -up xf86-video-intel-20090908/src/drmmode_display.c.jx xf86-video-intel-20090908/src/drmmode_display.c
2 --- xf86-video-intel-20090908/src/drmmode_display.c.jx 2009-09-08 14:30:55.000000000 -0400
3 +++ xf86-video-intel-20090908/src/drmmode_display.c 2009-09-08 14:31:09.000000000 -0400
4 @@ -1195,8 +1195,19 @@ drmmode_output_get_property(xf86OutputPt
8 +#ifdef RANDR_GET_CRTC_INTERFACE
10 +drmmode_get_crtc(xf86OutputPtr output)
12 + return output->crtc;
16 static const xf86OutputFuncsRec drmmode_output_funcs = {
17 .create_resources = drmmode_output_create_resources,
18 +#ifdef RANDR_GET_CRTC_INTERFACE
19 + .get_crtc = drmmode_get_crtc,
21 #ifdef RANDR_12_INTERFACE
22 .set_property = drmmode_output_set_property,
23 .get_property = drmmode_output_get_property,