diff mbox

Make driver compile for 1.6 Xserver series again. Part deux.

Message ID 1286553215-14798-1-git-send-email-mhopf@suse.de (mailing list archive)
State New, archived
Headers show

Commit Message

Matthias Hopf Oct. 8, 2010, 3:53 p.m. UTC
None
diff mbox

Patch

diff --git a/src/common.h b/src/common.h
index 6f23cdd..800e17f 100644
--- a/src/common.h
+++ b/src/common.h
@@ -172,6 +172,11 @@  static inline void memcpy_volatile(volatile void *dst, const void *src,
 
 #define PIPE_NAME(n)			('A' + (n))
 
+/* remain compatible to xorg-server 1.6 */
+#ifndef MONITOR_EDID_COMPLETE_RAWDATA
+#define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA
+#endif
+
 struct pci_device *
 intel_host_bridge (void);