From 0a0cd3a8ae32fcdfd058969ae288449bbc87ca60 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 9 Oct 2006 14:55:46 +0000 Subject: Updates for XCB. Bug 8560. --- configs/linux-dri-xcb | 4 ++-- src/glx/x11/glxext.c | 2 +- src/glx/x11/indirect.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb index d61cc7f20cb..cb327fa60f9 100644 --- a/configs/linux-dri-xcb +++ b/configs/linux-dri-xcb @@ -24,7 +24,7 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN -X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I xcb-glx` +X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx` CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \ $(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math @@ -41,7 +41,7 @@ LIBDRM_CFLAGS = `pkg-config --cflags libdrm` LIBDRM_LIB = `pkg-config --libs libdrm` DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \ - $(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs xcb-glx` + $(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx` # This is now 0 by default since it seems to confuse the hell out of people diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 7e9327b59ee..f47caae43df 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -64,7 +64,7 @@ #endif #ifdef USE_XCB -#include +#include #include #include #endif diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c index 4f615baa17f..80b6011bdd6 100644 --- a/src/glx/x11/indirect.c +++ b/src/glx/x11/indirect.c @@ -32,7 +32,7 @@ #include "indirect_size.h" #include #ifdef USE_XCB -#include +#include #include #include #endif /* USE_XCB */ -- cgit v1.2.3