diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2007-02-16 02:19:10 -0800 |
---|---|---|
committer | Keith Packard <keithp@guitar.keithp.com> | 2007-02-16 02:19:10 -0800 |
commit | 0ca926e63c7fa9122a8cba1424ce4cdee1c7b215 (patch) | |
tree | 81b26423182b51483ce27ad1dc8d057ea56e55be /src/ivch | |
parent | 972f1109d23c0a3f821fa573e2aa40cd17ce2795 (diff) |
Check for presence of xf86Modes.h file.
xf86Modes.h file signals the availability of the new modes API in the
server; use that instead of counting on X server version numbers.
Also, finish eliminating use of local copies of those header files.
Diffstat (limited to 'src/ivch')
-rw-r--r-- | src/ivch/Makefile.am | 2 | ||||
-rw-r--r-- | src/ivch/ivch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ivch/Makefile.am b/src/ivch/Makefile.am index fac074db..40e26277 100644 --- a/src/ivch/Makefile.am +++ b/src/ivch/Makefile.am @@ -3,7 +3,7 @@ # -avoid-version prevents gratuitous .0.0.0 version numbers on the end # _ladir passes a dummy rpath to libtool so the thing will actually link # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. -AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ +AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -I$(srcdir)/.. -I$(srcdir)/../modes ivch_la_LTLIBRARIES = ivch.la ivch_la_LDFLAGS = -module -avoid-version diff --git a/src/ivch/ivch.c b/src/ivch/ivch.c index 085b542a..71f41f58 100644 --- a/src/ivch/ivch.c +++ b/src/ivch/ivch.c @@ -35,7 +35,7 @@ #include "compiler.h" #include "miscstruct.h" #include "xf86i2c.h" -#include "../i830_xf86Crtc.h" +#include "xf86Crtc.h" #define DPMS_SERVER #include <X11/extensions/dpms.h> |