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 <jsg@jsg.id.au>
This commit is contained in:
Jonathan Gray 2013-07-18 23:05:13 +10:00 committed by Michel Dänzer
parent 4e7f1346ae
commit 57cf5946ce
2 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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)