[Mesa-dev] [PATCH v2] don't include libdrm in an include statement

Jonathan Gray jsg at jsg.id.au
Thu Jul 18 06:05:13 PDT 2013


v2: use RADEON_CFLAGS instead of LIBDRM_CFLAGS

Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
---
 src/gallium/drivers/radeonsi/Makefile.am      | 3 ++-
 src/gallium/winsys/radeon/drm/radeon_winsys.h | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git src/gallium/drivers/radeonsi/Makefile.am src/gallium/drivers/radeonsi/Makefile.am
index 46aa998..0c27973 100644
--- src/gallium/drivers/radeonsi/Makefile.am
+++ 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 src/gallium/winsys/radeon/drm/radeon_winsys.h src/gallium/winsys/radeon/drm/radeon_winsys.h
index a619d70..a500193 100644
--- src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ 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)
 
-- 
1.8.3.2



More information about the mesa-dev mailing list