mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-12 23:52:23 +00:00
Get modes code building with old X servers again.
This change uses XORG_VERSION_CURRENT < 7.0 to mean "server newer than 1.2" since XORG_VERSION current went backwards at some point.
This commit is contained in:
parent
ca616b902b
commit
a8d760f567
5 changed files with 60 additions and 4 deletions
|
|
@ -62,6 +62,10 @@
|
|||
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
# include <xorg-config.h>
|
||||
#else
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "xf86.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue