From: Jonathan Gray Date: Thu, 18 Jul 2013 13:05:13 +0000 (+1000) Subject: radeonsi: Make sure libdrm_radeon headers are picked up from the right place X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57cf5946ce7604aa42c78dbdc34c453f8b2a0b21;p=mesa.git radeonsi: Make sure libdrm_radeon headers are picked up from the right place And remove libdrm/ from a winsys include statement. Signed-off-by: Jonathan Gray --- diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am index 46aa998d512..0c27973df3b 100644 --- a/src/gallium/drivers/radeonsi/Makefile.am +++ b/src/gallium/drivers/radeonsi/Makefile.am @@ -29,7 +29,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers/radeon \ -I$(top_srcdir)/src/gallium/drivers \ -I$(top_srcdir)/include \ - $(GALLIUM_CFLAGS) + $(GALLIUM_CFLAGS) \ + $(RADEON_CFLAGS) AM_CFLAGS = $(LLVM_CFLAGS) libradeonsi_la_SOURCES = $(C_SOURCES) diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h index 9c6589a7a96..1367982850c 100644 --- a/src/gallium/winsys/radeon/drm/radeon_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h @@ -41,7 +41,7 @@ */ #include "pipebuffer/pb_buffer.h" -#include "libdrm/radeon_surface.h" +#include "radeon_surface.h" #define RADEON_MAX_CMDBUF_DWORDS (16 * 1024)