From: Jakob Bornecrantz Date: Tue, 13 Oct 2009 09:56:35 +0000 (+0200) Subject: st/xorg: Fix dpms include problems X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef067b5f01eb7ea7a08a64d897e0e70e139c618d;p=mesa.git st/xorg: Fix dpms include problems --- diff --git a/src/gallium/state_trackers/xorg/Makefile b/src/gallium/state_trackers/xorg/Makefile index 030bac5fff2..27a1990724d 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 95973586da8..67fe29a69da 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 #else #define DPMS_SERVER -#include "X11/extensions/dpmsconst.h" +#include #endif #include "pipe/p_inlines.h"