diff --git a/src/common.h b/src/common.h index 800e17ff..6f23cdd8 100644 --- a/src/common.h +++ b/src/common.h @@ -172,11 +172,6 @@ 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); diff --git a/src/intel.h b/src/intel.h index b74a0618..6b059976 100644 --- a/src/intel.h +++ b/src/intel.h @@ -160,6 +160,11 @@ list_is_empty(struct list *head) pos = list_entry(pos->member.next, type, member)) #endif +/* remain compatible to xorg-server 1.6 */ +#ifndef MONITOR_EDID_COMPLETE_RAWDATA +#define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA +#endif + struct intel_pixmap { dri_bo *bo;