From c3c91a0fe5e9a497c44481bcd072093e6edaac50 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 7 Mar 2011 21:15:02 +0100 Subject: [PATCH] glx: Take GLPROTO_CFLAGS into account. --- configs/autoconf.in | 1 + src/glx/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/autoconf.in b/configs/autoconf.in index a3c69e1d398..4e931a3a9cc 100644 --- a/configs/autoconf.in +++ b/configs/autoconf.in @@ -149,6 +149,7 @@ DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@ LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ LIBDRM_LIB = @LIBDRM_LIBS@ DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@ +GLPROTO_CFLAGS = @GLPROTO_CFLAGS@ EXPAT_INCLUDES = @EXPAT_INCLUDES@ # Autoconf directories diff --git a/src/glx/Makefile b/src/glx/Makefile index 3d92ebbe038..dd96973ea8f 100644 --- a/src/glx/Makefile +++ b/src/glx/Makefile @@ -64,6 +64,7 @@ INCLUDES = -I. \ -I$(TOP)/src/mapi/glapi \ $(LIBDRM_CFLAGS) \ $(DRI2PROTO_CFLAGS) \ + $(GLPROTO_CFLAGS) \ $(X11_INCLUDES)