st/xorg: Fix dpms include problems
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 13 Oct 2009 09:56:35 +0000 (11:56 +0200)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 13 Oct 2009 17:16:21 +0000 (19:16 +0200)
src/gallium/state_trackers/xorg/Makefile
src/gallium/state_trackers/xorg/xorg_crtc.c

index 030bac5..27a1990 100644 (file)
@@ -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 \
index 9597358..67fe29a 100644 (file)
 #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"