[Mesa-dev] [PATCH] don't include libdrm in an include statement
Jonathan Gray
jsg at jsg.id.au
Wed Jul 17 21:45:43 PDT 2013
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..1cd85c4 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) \
+ $(LIBDRM_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