diff options
author | Eric Anholt <eric@anholt.net> | 2009-01-21 12:52:36 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-01-21 12:52:46 -0800 |
commit | f126aabdf8952177bb15f392041da7a7094eb31b (patch) | |
tree | e437ef41a2fd7baaa594ff7a9326e8846fa89530 /src/i830_lvds.c | |
parent | 253b8db298f38676e47dc902534465054f7b58b8 (diff) |
Fix build with server 1.4.
Debian "unstable" is still stuck with this ancient version.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r-- | src/i830_lvds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 7eac3c2c..027bb5de 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -917,6 +917,11 @@ static void fill_detailed_block(struct detailed_monitor_section *det_mon, timing->misc |= 0x01; } +/* X Server pre-1.5 compatibility */ +#ifndef DS_VENDOR +#define DS_VENDOR 0x101 +#endif + /** * Return the list of DDC modes if available, or the BIOS fixed mode otherwise. */ |