diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-10-13 11:56:35 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-10-13 19:16:21 +0200 |
commit | ef067b5f01eb7ea7a08a64d897e0e70e139c618d (patch) | |
tree | 5f760de90b923564c45f73c935b5c1c14c14ba22 /src/gallium/state_trackers | |
parent | 5c4bdbd825934fe01330890d360b61caa06fdc8d (diff) | |
download | external_mesa3d-ef067b5f01eb7ea7a08a64d897e0e70e139c618d.zip external_mesa3d-ef067b5f01eb7ea7a08a64d897e0e70e139c618d.tar.gz external_mesa3d-ef067b5f01eb7ea7a08a64d897e0e70e139c618d.tar.bz2 |
st/xorg: Fix dpms include problems
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/xorg/Makefile | 1 | ||||
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_crtc.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/xorg/Makefile b/src/gallium/state_trackers/xorg/Makefile index 030bac5..27a1990 100644 --- a/src/gallium/state_trackers/xorg/Makefile +++ b/src/gallium/state_trackers/xorg/Makefile @@ -5,7 +5,6 @@ LIBNAME = xorgtracker LIBRARY_INCLUDES = \ -DHAVE_CONFIG_H \ - -DHAVE_XEXTPROTO_71=1 \ $(shell pkg-config --cflags-only-I pixman-1 xorg-server libdrm xproto) \ -I$(TOP)/src/gallium/include \ -I$(TOP)/src/gallium/auxiliary \ diff --git a/src/gallium/state_trackers/xorg/xorg_crtc.c b/src/gallium/state_trackers/xorg/xorg_crtc.c index 9597358..67fe29a 100644 --- a/src/gallium/state_trackers/xorg/xorg_crtc.c +++ b/src/gallium/state_trackers/xorg/xorg_crtc.c @@ -43,10 +43,10 @@ #include "xf86Modes.h" #ifdef HAVE_XEXTPROTO_71 -#include "X11/extensions/dpmsconst.h" +#include <X11/extensions/dpmsconst.h> #else #define DPMS_SERVER -#include "X11/extensions/dpmsconst.h" +#include <X11/extensions/dpms.h> #endif #include "pipe/p_inlines.h" |